Skip to content

Disconnecting every 4~5 minute #308

Answered by batuhansahan
batuhansahan asked this question in Q&A
Discussion options

You must be logged in to vote

idleTimeout

  • idleTimeout is roughly the amount of seconds that may pass between messages. Being idle for more than this, and the connection is severed. This means you should make your clients send small ping messages every now and then, to keep the connection alive. You can also make the server send ping messages but I would definitely put that labor on the client side.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #308 on December 09, 2020 04:07.