How to decide the Ping interval for websocket connection

I know this is an old question, but i’ve also been in search for an answer. The previous answer does not make mention of the interval, so I searched through some code of some popular websocket frameworks. Not that this is official, but at least it gives a starting point: this repo makes use of 20 second intervals. I’m not sure if that 100% correct, but its better than “often”, or “somewhat frequently”.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)