Revert "Merge pull request #12584 from AlanCoding/lazy_workers"

This reverts commit 64157f7207, reversing
changes made to 9e8ba6ca09.
This commit is contained in:
Alan Rominger
2022-08-18 20:40:08 -04:00
parent b4ef687b60
commit 974f845059
2 changed files with 3 additions and 20 deletions

View File

@@ -444,10 +444,6 @@ 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}},