fix(tasks): 🐛 Flush not working.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user