3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 04:32:51 +01:00

main: raise fallback ping frequency to 30

This commit is contained in:
James Lu 2015-07-23 10:28:28 -07:00
parent 2e34d9e85d
commit 1efc9018f3

View File

@ -61,7 +61,7 @@ class Irc():
self.sid = self.serverdata["sid"] self.sid = self.serverdata["sid"]
self.botdata = conf['bot'] self.botdata = conf['bot']
self.proto = proto self.proto = proto
self.pingfreq = self.serverdata.get('pingfreq') or 10 self.pingfreq = self.serverdata.get('pingfreq') or 30
self.pingtimeout = self.pingfreq * 2 self.pingtimeout = self.pingfreq * 2
self.initVars() self.initVars()