mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +01:00
classes: higher default pingfreq (90)
This commit is contained in:
parent
ed19c2b24a
commit
553415f6f7
@ -47,7 +47,7 @@ class Irc():
|
|||||||
self.bot_clients = {}
|
self.bot_clients = {}
|
||||||
self.protoname = proto.__name__
|
self.protoname = proto.__name__
|
||||||
self.proto = proto.Class(self)
|
self.proto = proto.Class(self)
|
||||||
self.pingfreq = self.serverdata.get('pingfreq') or 30
|
self.pingfreq = self.serverdata.get('pingfreq') or 90
|
||||||
self.pingtimeout = self.pingfreq * 2
|
self.pingtimeout = self.pingfreq * 2
|
||||||
|
|
||||||
self.connected = threading.Event()
|
self.connected = threading.Event()
|
||||||
|
Loading…
Reference in New Issue
Block a user