Commit 898edfb0 authored by Aurel's avatar Aurel

reduce time of poll, this make client much more faster


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@140 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6ba9b1d7
......@@ -24,7 +24,7 @@ class Dispatcher(Thread):
# First check if we receive any new message from other node
m = None
try:
self.em.poll(1)
self.em.poll(0.2)
except KeyError:
# This happen when there is no connection
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