Commit 99338aba authored by Vincent Pelletier's avatar Vincent Pelletier

Disable timeout in this loop: it is only here to wait for packets, so it has no reason to timeout.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@276 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 55ae9f31
...@@ -41,7 +41,7 @@ class Dispatcher(Thread): ...@@ -41,7 +41,7 @@ class Dispatcher(Thread):
while 1: while 1:
# First check if we receive any new message from other node # First check if we receive any new message from other node
try: try:
self.em.poll() self.em.poll(None)
except KeyError: except KeyError:
# This happen when there is no connection # This happen when there is no connection
logging.error('Dispatcher, run, poll returned a KeyError') logging.error('Dispatcher, run, poll returned a KeyError')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment