mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
implement a simple periodic pod reaper for container groups
see: https://github.com/ansible/awx/issues/4911
This commit is contained in:
@@ -479,6 +479,11 @@ CELERYBEAT_SCHEDULE = {
|
||||
'schedule': timedelta(seconds=20),
|
||||
'options': {'expires': 20}
|
||||
},
|
||||
'k8s_reaper': {
|
||||
'task': 'awx.main.tasks.awx_k8s_reaper',
|
||||
'schedule': timedelta(seconds=60),
|
||||
'options': {'expires': 50,}
|
||||
},
|
||||
# 'isolated_heartbeat': set up at the end of production.py and development.py
|
||||
}
|
||||
AWX_INCONSISTENT_TASK_INTERVAL = 60 * 3
|
||||
|
||||
Reference in New Issue
Block a user