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()