Skip to content

Commit 7b419b0

Browse files
committed
added comment
1 parent 44974ac commit 7b419b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nhsn/delphi_nhsn/pull.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def check_last_updated(socrata_token, dataset_id, logger):
4848

4949
updated_timestamp = datetime.utcfromtimestamp(int(response["rowsUpdatedAt"]))
5050
now = datetime.utcnow()
51+
# currently set to run twice a week, RECENTLY_UPDATED_DIFF may need adjusting based on the cadence
5152
recently_updated_source = (now - updated_timestamp) < RECENTLY_UPDATED_DIFF
5253

5354
prelim_prefix = "Preliminary " if dataset_id == PRELIM_DATASET_ID else ""

0 commit comments

Comments
 (0)