mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
update frequency of collection for automation analytics
This commit is contained in:
committed by
Ryan Petrello
parent
7fe32ab607
commit
844b8a803f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user