Skip to content

Disconnect event takes considerable time #754

Discussion options

You must be logged in to vote

When in doubt, please write your question in a discussion. The issues board is for actual issues or enhancements, not to troubleshoot problems. Thanks.

You are using long-polling, which by its own nature cannot detect disconnections immediately, the server has to wait some time to declare a client gone. WebSocket disconnections are detected immediately. This has always been the case there are no new changes either in the Python or JS sides that changed this behavior.

They key is given to you in the message. You are not using a WebSocket compatible web server.

Googling around, previous issues seem to indicate that we need to install gevent or eventlet, but we already have these packages i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@colingoodman
Comment options

Answer selected by colingoodman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #753 on July 16, 2021 09:12.