mirror of https://github.com/msantos/xmppipe
Reset ping failures after any response
Use a fixed ping handler rather than scheduling a ping handler per ping request. If the XMPP client or server is busy, many outstanding ping requests can be waiting, resulting in a number of ping handlers being queued. Each of the ping handlers does the same thing (resets the failure count to 0) but any dropped pings resulted in the handlers being queued forever.pull/1/head
parent
c3c83f9d72
commit
37bd93160b
Loading…
Reference in New Issue