From 27a747403631ad45bc148b757403cdee6ffa67cb Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 16 Dec 2013 23:14:53 +0400 Subject: [PATCH] wait a bit before asking for a new socket if the link is broken --- backends/irc/__init__.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backends/irc/__init__.py b/backends/irc/__init__.py index 80e4a1d..bbd6fc3 100644 --- a/backends/irc/__init__.py +++ b/backends/irc/__init__.py @@ -134,6 +134,7 @@ class IrcThread(threading.Thread): self.peers = {} except: traceback.print_exc(file=sys.stdout) + time.sleep(1) finally: s.close() -- 1.7.1