Skip to content

Commit

Permalink
Handle QueusFull for asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
teejusb committed Jul 9, 2021
1 parent c4282b9 commit 365fed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def broadcast(msg):
for q in out_queues:
try:
main_thread_loop.call_soon_threadsafe(q.put_nowait, msg)
except asyncio.QueueFull:
except asyncio.queues.QueueFull:
pass


Expand Down

0 comments on commit 365fed5

Please sign in to comment.