fix(tasks): 🐛 Flush not working.

This commit is contained in:
Nyeki.py
2024-11-05 00:47:13 -03:00
parent 9fef2c089b
commit 8af01ae327
9 changed files with 94 additions and 96 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ async def flush():
from payphone.core import constants, utils, config
redis = redis.Redis("localhost" if config.IS_DEBUG else "redis")
redis = redis.Redis("redis://localhost" if config.IS_DEBUG else "redis://redis")
pipe = redis.pipeline()