]> jfr.im git - erebus.git/commitdiff
update watchdog default timeout to 10 mins
authorJohn Runyon <redacted>
Mon, 19 Jun 2023 08:13:38 +0000 (02:13 -0600)
committerJohn Runyon <redacted>
Mon, 19 Jun 2023 08:13:38 +0000 (02:13 -0600)
bot.py

diff --git a/bot.py b/bot.py
index 6ea812815eaadb4d282886a5e0e4fb49baeefbfd..9fe18abdf644ca8ad67231d1ff3dcf1f81930728 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -67,7 +67,7 @@ class Bot(object):
                except: pass
 
        def watchdog(self):
-               if time.time() > int(self.parent.cfg.get('watchdog', 'maxtime', default=300))+self.lastreceived:
+               if time.time() > int(self.parent.cfg.get('watchdog', 'maxtime', default=600))+self.lastreceived:
                        self.parse("ERROR :Fake-error from watchdog timer.")
                watchdogtimer = MyTimer(int(self.parent.cfg.get('watchdog', 'interval', default=30)), self.watchdog)
                watchdogtimer.start()