Make timeout 0.01 sec.
This commit is contained in:
parent
dc94d1607c
commit
e251f6b914
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue