mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
Merge branch 'devel' into wip/hybrid
This commit is contained in:
commit
f35008ac64
@ -94,7 +94,7 @@ class Irc():
|
||||
"""
|
||||
self.sid = self.serverdata["sid"]
|
||||
self.botdata = self.conf['bot']
|
||||
self.pingfreq = self.serverdata.get('pingfreq') or 30
|
||||
self.pingfreq = self.serverdata.get('pingfreq') or 180
|
||||
self.pingtimeout = self.pingfreq * 2
|
||||
|
||||
self.connected.clear()
|
||||
|
@ -111,9 +111,9 @@ servers:
|
||||
|
||||
# Sets ping frequency (i.e. how long we should wait between sending
|
||||
# pings to our uplink). When more than two consecutive pings are missed,
|
||||
# PyLink will disconnect with a ping timeout. This defaults to 30 if
|
||||
# PyLink will disconnect with a ping timeout. This defaults to 180 if
|
||||
# not set.
|
||||
pingfreq: 30
|
||||
pingfreq: 180
|
||||
|
||||
# Separator character (used by relay)
|
||||
separator: "/"
|
||||
|
Loading…
Reference in New Issue
Block a user