From 7f4ad457efffef8c6e3302d08142b245a6c8307b Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Mon, 4 Feb 2019 23:45:11 +0100
Subject: [PATCH] add celery backend config

... so that we can wait on tasks
---
 inventory_provider/tasks/config.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/inventory_provider/tasks/config.py b/inventory_provider/tasks/config.py
index 8200911b..84d4878e 100644
--- a/inventory_provider/tasks/config.py
+++ b/inventory_provider/tasks/config.py
@@ -3,3 +3,6 @@ from os import getenv
 broker_url = getenv(
     'CELERY_BROKER_URL',
     default='redis://test-dashboard02.geant.org:6379/1')
+result_backend = getenv(
+    'CELERY_BROKER_URL',
+    default='redis://test-dashboard02.geant.org:6379/1')
-- 
GitLab