mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-22 18:29:34 +00:00
adapt celery to honcho setup
This commit is contained in:
1 parent
934d17d9d2
commit
1a81911cd6
7 files changed
+21
-19
No files matched your search
+2
-2
@@ -47,7 +47,7 @@ from sentry_sdk.integrations.django import DjangoIntegration
|
||||
|
||||
from .honeypot import custom_honeypot_error
|
||||
|
||||
env = Env()
|
||||
env = Env(expand_vars=True)
|
||||
env.read_env()
|
||||
|
||||
|
||||
@@ -342,7 +342,7 @@ EMAIL_PORT = env.int("EMAIL_PORT", default=25)
|
||||
CELERY_TIMEZONE = TIME_ZONE
|
||||
CELERY_TASK_TRACK_STARTED = True
|
||||
CELERY_TASK_TIME_LIMIT = 30 * 60
|
||||
CElERY_BROKER_URL = env.str("CELERY_BROKER_URL", default="redis://localhost:6379/1")
|
||||
CELERY_BROKER_URL = env.str("TASK_BROKER_URL")
|
||||
CELERY_RESULT_BACKEND = "django-db"
|
||||
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
|
||||
|
||||
|
||||
Reference in new issue
Block a user