Merge pull request #1620 from ryanpetrello/dynamic-autoscale

dynamically set worker autoscale max_concurrency based on system memory
This commit is contained in:
Ryan Petrello
2018-03-21 11:52:16 -04:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -458,6 +458,7 @@ CELERY_TRACK_STARTED = True
CELERYD_TASK_TIME_LIMIT = None
CELERYD_TASK_SOFT_TIME_LIMIT = None
CELERYD_POOL_RESTARTS = True
CELERYD_AUTOSCALER = 'awx.main.utils.autoscale:DynamicAutoScaler'
CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
CELERY_IMPORTS = ('awx.main.scheduler.tasks',)
CELERY_QUEUES = (