Skip to content

Commit b508280

Browse files
author
Gabriel Monroy
committed
hardcode celeryd concurrency
1 parent 6add94a commit b508280

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

deis/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@
253253
CELERY_IMPORTS = ('api.tasks',)
254254
CELERY_RESULT_BACKEND = 'amqp'
255255

256+
# hardcode celeryd concurrency
257+
# this number should be equal to N+1, where
258+
# N is number of nodes in largest formation
259+
CELERYD_CONCURRENCY = 8
256260

257261
# default deis settings
258262
DEIS_LOG_DIR = os.path.abspath(os.path.join(__file__, '..', '..', 'logs'))

0 commit comments

Comments
 (0)