mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-29 16:35:19 -05:00
refac
This commit is contained in:
1 parent
24af96520d
commit
d66d5b7eb0
1 file changed
+1
-1
@@ -60,7 +60,7 @@ async def steer_queued_messages(request, user, output, ended):
|
||||
metadata = output.metadata
|
||||
while not ended.is_set():
|
||||
with contextlib.suppress(TimeoutError):
|
||||
await asyncio.wait_for(ended.wait(), 1)
|
||||
await asyncio.wait_for(ended.wait(), 0.25)
|
||||
if not output.can_steer():
|
||||
continue
|
||||
reply_id = metadata['message_id']
|
||||
|
||||
Reference in new issue
Block a user