mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Added log of PING-based disconnect.
This commit is contained in:
parent
662024d63d
commit
7f90fdc712
@ -357,6 +357,7 @@ class Irc(object):
|
|||||||
msg = self.queue.dequeue()
|
msg = self.queue.dequeue()
|
||||||
elif len(self.outstandingPongs) > 2:
|
elif len(self.outstandingPongs) > 2:
|
||||||
# Our pings hasn't be responded to.
|
# Our pings hasn't be responded to.
|
||||||
|
debug.msg('Reconnecting, 3 pings not replied to.', 'normal')
|
||||||
if hasattr(self.driver, 'scheduleReconnect'):
|
if hasattr(self.driver, 'scheduleReconnect'):
|
||||||
self.driver.scheduleReconnect()
|
self.driver.scheduleReconnect()
|
||||||
self.driver.die()
|
self.driver.die()
|
||||||
|
Loading…
Reference in New Issue
Block a user