You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
According to the IRC specification, a PING is only required if nothing has been sent to the server for an unspecified amount of time. In my tests, one minute and 30 seconds has been found to be a good time window for every PING (this might be a server option, though). However, ping() is called even though messages has been sent to the server, which is superfluous.
The ping() function should be changed so that the client only PINGs when it is required: when nothing has been sent to the server for one minute and 30 seconds.