update frequency of collection for automation analytics

This commit is contained in:
Christian Adams
2019-10-03 15:29:34 -04:00
committed by Ryan Petrello
parent 7fe32ab607
commit 844b8a803f
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ def gather(dest=None, module=None, collection_type='scheduled'):
last_run = state.last_run
logger.debug("Last analytics run was: {}".format(last_run))
max_interval = now() - timedelta(days=7)
max_interval = now() - timedelta(weeks=4)
if last_run < max_interval or not last_run:
last_run = max_interval