Commit 9194c66f authored by Vincent Pelletier's avatar Vincent Pelletier

Restore default polling timeout: if we indefinitely wait for activity, we will...

Restore default polling timeout: if we indefinitely wait for activity, we will never check idle events, so we will never detect application-level timeouts.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@332 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8dacee1b
......@@ -31,7 +31,7 @@ class ThreadedPoll(Thread):
while 1:
# First check if we receive any new message from other node
try:
self.em.poll(None)
self.em.poll()
except KeyError:
# This happen when there is no connection
# XXX: This should be handled inside event manager, not here.
......
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