From 2fd33b08aff9c003d13aa7f5bfa629ee2763febb Mon Sep 17 00:00:00 2001 From: Alexander van Gessel Date: Tue, 4 Feb 2014 21:59:09 +0100 Subject: [PATCH] Add a check for expired connections that are still running --- irkerd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irkerd b/irkerd index 7f03856..0d6d6f8 100755 --- a/irkerd +++ b/irkerd @@ -551,6 +551,9 @@ class Connection: self.last_xmit = self.channels_joined[channel] = time.time() self.irker.irc.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime())) self.queue.task_done() + elif self.status == "expired": + print "We're expired but still running! This is a bug." + break except: (exc_type, _exc_value, exc_traceback) = sys.exc_info() self.irker.logerr("exception %s in thread for %s" % \ -- 2.26.2