diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-01 14:50:24 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-01 14:50:24 -0700 |
commit | cff3906f2ea6176d6395fb7eb1830dde4a096522 (patch) | |
tree | 25cd6dee8590a6a886483b56b52916801d052a0f /python/fatcat_tools/harvest/harvest_common.py | |
parent | daadc1eb8255d2da2ea077f644c97a12cce0031e (diff) | |
download | fatcat-cff3906f2ea6176d6395fb7eb1830dde4a096522.tar.gz fatcat-cff3906f2ea6176d6395fb7eb1830dde4a096522.zip |
increase default harvest window to 14 days
Diffstat (limited to 'python/fatcat_tools/harvest/harvest_common.py')
-rw-r--r-- | python/fatcat_tools/harvest/harvest_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/harvest_common.py b/python/fatcat_tools/harvest/harvest_common.py index 4a71a655..da06275f 100644 --- a/python/fatcat_tools/harvest/harvest_common.py +++ b/python/fatcat_tools/harvest/harvest_common.py @@ -48,14 +48,14 @@ class HarvestState: NOTE: should this class manage the state topic as well? Hrm. """ - def __init__(self, start_date=None, end_date=None, catchup_days=7): + def __init__(self, start_date=None, end_date=None, catchup_days=14): self.to_process = set() self.completed = set() if catchup_days or start_date or end_date: self.enqueue_period(start_date, end_date, catchup_days) - def enqueue_period(self, start_date=None, end_date=None, catchup_days=7): + def enqueue_period(self, start_date=None, end_date=None, catchup_days=14): """ This function adds a time period to the "TODO" list, unless the dates have already been processed. |