Spaces:
Paused
Paused
Tao Wu
commited on
Commit
·
6b6f474
1
Parent(s):
8fbad61
fix bug
Browse files- app/config.py +1 -1
app/config.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
# Redis configuration
|
4 |
-
|
5 |
REDIS_HOST = os.getenv('REDIS_HOST', 'localhost')
|
6 |
REDIS_PORT = int(os.getenv('REDIS_PORT', 6379))
|
7 |
REDIS_DB = int(os.getenv('REDIS_DB', 0))
|
|
|
1 |
import os
|
2 |
|
3 |
# Redis configuration
|
4 |
+
#REDIS_HOST = os.getenv('REDIS_HOST', 'redis')
|
5 |
REDIS_HOST = os.getenv('REDIS_HOST', 'localhost')
|
6 |
REDIS_PORT = int(os.getenv('REDIS_PORT', 6379))
|
7 |
REDIS_DB = int(os.getenv('REDIS_DB', 0))
|