3
0
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:
James Lu 2016-05-25 16:19:35 -07:00
parent ed19c2b24a
commit 553415f6f7

View File

@ -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()