-
Hello @alexhultman I know the proper way to handle this is sending some Any thoughts on this? Maybe setting a high Thank you very much. Congratulations on your superb work! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello Jorge, Definitely use idleTimeout and let the clients send messages to the server from time to time. It should not be a problem for the server to receive. You don't even need to respond to them, just make sure to send something to the server. With idle timeout of 120 seconds the server should pick up on and throw away dead connections properly |
Beta Was this translation helpful? Give feedback.
-
Additionally, I recommend to force reconnection in case of failed keep-alive message and do not wait until user has intention to send you something. Show notification about closed connection to user. This leads to better user experience |
Beta Was this translation helpful? Give feedback.
Hello Jorge,
Definitely use idleTimeout and let the clients send messages to the server from time to time. It should not be a problem for the server to receive. You don't even need to respond to them, just make sure to send something to the server.
With idle timeout of 120 seconds the server should pick up on and throw away dead connections properly