aboutsummaryrefslogtreecommitdiff
path: root/app/taskqueue/celeryconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/taskqueue/celeryconfig.py')
-rw-r--r--app/taskqueue/celeryconfig.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/taskqueue/celeryconfig.py b/app/taskqueue/celeryconfig.py
index 9624262..177393e 100644
--- a/app/taskqueue/celeryconfig.py
+++ b/app/taskqueue/celeryconfig.py
@@ -17,9 +17,15 @@
BROKER_URL = "redis://localhost"
BROKER_POOL_LIMIT = 20
+BROKER_TRANSPORT_OPTIONS = {
+ "visibility_timeout": 10800,
+ "fanout_prefix": True,
+ "fanout_patterns": True
+}
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_RESULT_SERIALIZER = "json"
CELERY_TASK_SERIALIZER = "json"
+CELERY_TIMEZONE = "UTC"
CELERY_ENABLE_UTC = True
CELERY_DISABLE_RATE_LIMITS = True
CELERY_RESULT_BACKEND = "mongodb://localhost"