mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
Merge pull request #2710 from WesleyAC/celery-env-vars
Add env vars for celery concurrency and time limit
This commit is contained in:
commit
863ec1602a
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_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
|
||||||
CELERY_TIMEZONE = env("TIME_ZONE", "UTC")
|
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")
|
FLOWER_PORT = env("FLOWER_PORT")
|
||||||
|
|
||||||
INSTALLED_APPS = INSTALLED_APPS + [
|
INSTALLED_APPS = INSTALLED_APPS + [
|
||||||
|
|
Loading…
Reference in a new issue