mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac
This commit is contained in:
@@ -28,7 +28,6 @@ async def redis_task_command_listener(app):
|
||||
await pubsub.subscribe(REDIS_PUBSUB_CHANNEL)
|
||||
|
||||
async for message in pubsub.listen():
|
||||
print(f"Received message: {message}")
|
||||
if message["type"] != "message":
|
||||
continue
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user