mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Add env vars for celery concurrency and time limit
This commit is contained in:
parent
05a303ea18
commit
26e34ddffa
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ CELERY_RESULT_SERIALIZER = "json"
|
|||
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
|
||||
CELERY_TIMEZONE = env("TIME_ZONE", "UTC")
|
||||
|
||||
CELERY_WORKER_CONCURRENCY = env("CELERY_WORKER_CONCURRENCY", None)
|
||||
CELERY_TASK_SOFT_TIME_LIMIT = env("CELERY_TASK_SOFT_TIME_LIMIT", None)
|
||||
|
||||
FLOWER_PORT = env("FLOWER_PORT")
|
||||
|
||||
INSTALLED_APPS = INSTALLED_APPS + [
|
||||
|
|
Loading…
Reference in a new issue