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:
parent
2e34d9e85d
commit
1efc9018f3
2
main.py
2
main.py
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user