mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
ea8dc333ee
commit
51fc98bed8
1 changed files with 0 additions and 1 deletions
|
|
@ -28,7 +28,6 @@ async def redis_task_command_listener(app):
|
||||||
await pubsub.subscribe(REDIS_PUBSUB_CHANNEL)
|
await pubsub.subscribe(REDIS_PUBSUB_CHANNEL)
|
||||||
|
|
||||||
async for message in pubsub.listen():
|
async for message in pubsub.listen():
|
||||||
print(f"Received message: {message}")
|
|
||||||
if message["type"] != "message":
|
if message["type"] != "message":
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue