diff --git a/classes.py b/classes.py index 8eb6a58..66d7a56 100644 --- a/classes.py +++ b/classes.py @@ -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() diff --git a/example-conf.yml b/example-conf.yml index 38f4464..c62d64d 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -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: "/"