We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda3236 commit 1ca5732Copy full SHA for 1ca5732
1 file changed
hypha/settings/base.py
@@ -504,6 +504,7 @@
504
505
CELERY_BROKER_URL = env.str("CELERY_BROKER_URL", None)
506
CELERY_RESULT_BACKEND = env.str("CELERY_RESULT_BACKEND", None)
507
+CELERY_WORKER_MAX_TASKS_PER_CHILD = env.int("CELERY_WORKER_MAX_TASKS_PER_CHILD", 1000)
508
509
# Logic is somewhat Heroku specific as Heroku's Key-Value Store addon auto sets the REDIS_URL env var.
510
# If `CELERY_BROKER_URL` or `CELERY_RESULT_BACKEND` is set, it will ignore `REDIS_URL`
0 commit comments