From: Alexander van Gessel Date: Tue, 4 Feb 2014 20:59:09 +0000 (+0100) Subject: Add a check for expired connections that are still running X-Git-Tag: 2.6~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2fd33b08aff9c003d13aa7f5bfa629ee2763febb;p=irker.git Add a check for expired connections that are still running --- 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" % \