summaryrefslogtreecommitdiff
path: root/megapixels/app/settings/app_cfg.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-11 20:38:36 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-11 20:38:36 +0100
commit334ea5a2a91da853dc6faf7f48aaa12599201218 (patch)
tree24c469d58ae7c15d09f0dc76836756af2fa4ff51 /megapixels/app/settings/app_cfg.py
parent3202498b5c195f103a7cd13609785c2bb97c2da6 (diff)
enable celery tasks
Diffstat (limited to 'megapixels/app/settings/app_cfg.py')
-rw-r--r--megapixels/app/settings/app_cfg.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/megapixels/app/settings/app_cfg.py b/megapixels/app/settings/app_cfg.py
index 2d51a607..a8f41819 100644
--- a/megapixels/app/settings/app_cfg.py
+++ b/megapixels/app/settings/app_cfg.py
@@ -148,3 +148,9 @@ S3_DATASETS_PATH = "v1" # datasets is already in the filename
DIR_SITE_PUBLIC = "../site/public"
DIR_SITE_CONTENT = "../site/content"
DIR_SITE_TEMPLATES = "../site/templates"
+
+# -----------------------------------------------------------------------------
+# Celery
+# -----------------------------------------------------------------------------
+CELERY_BROKER_URL = 'redis://localhost:6379/0'
+CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'