Channels SyncConsumers locking up Uvicorn/Websockets

14 views
Skip to first unread message

Tim Nelson

unread,
Jun 19, 2023, 2:24:31 PM6/19/23
to django...@googlegroups.com
We have had the occasional case where it appears a given SyncConsumer hangs. These seem to starve Channels of ASGI threads, eventually breaking all clients that are trying to send or connect.

Is there any way to build in a timeout, meaning if a SyncConsumer doesn't finish its request in (say) 5 seconds to interrupt it?
 
Reply all
Reply to author
Forward
0 new messages