Spaces:
Paused
Paused
Commit
•
b7fa076
1
Parent(s):
abbc67f
switch back to non-ssl
Browse files
tasks.py
CHANGED
@@ -9,7 +9,7 @@ load_dotenv()
|
|
9 |
|
10 |
REDIS_URL = os.environ['REDIS_URL']
|
11 |
|
12 |
-
app = Celery('tasks', broker=
|
13 |
|
14 |
app.conf.update(
|
15 |
result_expires=3600,
|
|
|
9 |
|
10 |
REDIS_URL = os.environ['REDIS_URL']
|
11 |
|
12 |
+
app = Celery('tasks', broker=REDIS_URL, backend=REDIS_URL)
|
13 |
|
14 |
app.conf.update(
|
15 |
result_expires=3600,
|