Shakecast product grabber seems to make too many requests
-
This check for events to be reprocessed seems like it should only reprocess when updated
is newer (>
instead of>=
)
if old_event and old_event.updated and eq['properties']['updated'] >= old_event.updated:
reprocess = True
-
This check whether an event has a shakemap should occur before loading the event details
Types appears in the summary feed
eq_info['properties']['types']
-
products in feed are already ordered most-preferred-first, so checking weights is redundant
Edited by Lin, Kuo-wan