From e251f6b91462c5c2a1d3828e992167a062a04685 Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Mon, 9 Dec 2013 12:25:08 +0800 Subject: [PATCH] Make timeout 0.01 sec. --- tox-irc-sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox-irc-sync.py b/tox-irc-sync.py index 6d7c6a4..d2b56ca 100644 --- a/tox-irc-sync.py +++ b/tox-irc-sync.py @@ -68,7 +68,7 @@ class SyncBot(Tox): self.send_message(tid, 'invite') except: pass - readable, _, _ = select.select([self.irc], [], [], 0.02) + readable, _, _ = select.select([self.irc], [], [], 0.01) if readable: self.readbuffer += self.irc.recv(4096)