mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Wait 60 seconds before scaling down a worker
This commit is contained in:
@@ -438,6 +438,10 @@ EXECUTION_NODE_REMEDIATION_CHECKS = 60 * 30 # once every 30 minutes check if an
|
||||
# Amount of time dispatcher will try to reconnect to database for jobs and consuming new work
|
||||
DISPATCHER_DB_DOWNTOWN_TOLLERANCE = 40
|
||||
|
||||
# Minimum time to wait after last job finished before scaling down a worker
|
||||
# A higher value will free up memory more agressively, but a lower value will require less forking
|
||||
DISPATCHER_SCALE_DOWN_WAIT_TIME = 60
|
||||
|
||||
BROKER_URL = 'unix:///var/run/redis/redis.sock'
|
||||
CELERYBEAT_SCHEDULE = {
|
||||
'tower_scheduler': {'task': 'awx.main.tasks.system.awx_periodic_scheduler', 'schedule': timedelta(seconds=30), 'options': {'expires': 20}},
|
||||
|
||||
Reference in New Issue
Block a user