Spaces:
Paused
Paused
Commit
•
dc79224
1
Parent(s):
2f83c57
Add in redis url
Browse files
tasks.py
CHANGED
@@ -8,6 +8,7 @@ from db.db_utils import get_connection, store_result_to_db
|
|
8 |
|
9 |
load_dotenv()
|
10 |
|
|
|
11 |
app = Celery('tasks', broker=REDIS_URL, backend=REDIS_URL)
|
12 |
|
13 |
app.conf.update(
|
|
|
8 |
|
9 |
load_dotenv()
|
10 |
|
11 |
+
REDIS_URL = os.environ['REDIS_URL']
|
12 |
app = Celery('tasks', broker=REDIS_URL, backend=REDIS_URL)
|
13 |
|
14 |
app.conf.update(
|