aboutsummaryrefslogtreecommitdiffstats
path: root/src/laas_dashboard/settings.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-11-04 17:44:02 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-11-04 17:47:39 -0400
commit2441da427ca66124b762da98adf5a6f966d40a67 (patch)
tree380d7714211c75455cdf76e0c3e62b27a439a98f /src/laas_dashboard/settings.py
parentbf4678f4b166bd1e54ccfe947d4508151f6466ec (diff)
Work around celery relpath bug for schedule file
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I9c512479f559b9b6f18f8428a914acdbad129dfd Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/laas_dashboard/settings.py')
-rw-r--r--src/laas_dashboard/settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/laas_dashboard/settings.py b/src/laas_dashboard/settings.py
index f253fa0..7e27c8d 100644
--- a/src/laas_dashboard/settings.py
+++ b/src/laas_dashboard/settings.py
@@ -217,9 +217,9 @@ RABBITMQ_URL = 'rabbitmq'
RABBITMQ_DEFAULT_USER = os.environ['RABBITMQ_DEFAULT_USER']
RABBITMQ_DEFAULT_PASS = os.environ['RABBITMQ_DEFAULT_PASS']
-BROKER_URL = 'amqp://' + RABBITMQ_DEFAULT_USER + ':' + RABBITMQ_DEFAULT_PASS + '@rabbitmq:5672//'
+CELERY_BROKER_URL = 'amqp://' + RABBITMQ_DEFAULT_USER + ':' + RABBITMQ_DEFAULT_PASS + '@rabbitmq:5672//'
-CELERYBEAT_SCHEDULE = {
+CELERY_BEAT_SCHEDULE = {
'booking_poll': {
'task': 'dashboard.tasks.booking_poll',
'schedule': timedelta(minutes=1)