Skip to content

Commit 6b068d5

Browse files
authored
Add a default worker concurrency for local dev (#2190)
1 parent f50389c commit 6b068d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

env/backend.env

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
CELERY_BROKER_URL=redis://redis:6379/4
22
CELERY_RESULT_BACKEND=redis://redis:6379/4
33
CELERY_TASK_ALWAYS_EAGER=False
4+
# this should keep memory usage under the limit
5+
# if you need to increase this you also need to increase services.celery.mem_limit
6+
CELERY_WORKER_CONCURRENCY=8
47

58
# local hostname shenanigans
69
CORS_ALLOWED_ORIGINS='["http://open.odl.local:8062"]'

0 commit comments

Comments
 (0)