Skip to content

Commit 6686e67

Browse files
committed
Temporary disable REDIS_URL
1 parent 30d7257 commit 6686e67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/caches.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111

1212
SETTINGS = get_settings()
1313

14+
REDIS_URL = None
1415
if SETTINGS.rediscloud_url:
1516
REDIS_URL = SETTINGS.rediscloud_url
1617
LOGGER.info("Using Rediscloud")
17-
else:
18-
REDIS_URL = SETTINGS.local_redis_url
19-
LOGGER.info("Using Local Redis")
18+
# else:
19+
# REDIS_URL = SETTINGS.local_redis_url
20+
# LOGGER.info("Using Local Redis")
2021

2122

2223
@functools.lru_cache()

0 commit comments

Comments
 (0)