Commit 86ce8602 authored by Julien Muchembled's avatar Julien Muchembled

poll: data may be received when processing exception list

For the moment, this only fixes a performance issue because in the worst case,
subsequent pings (every 6 seconds) would make _poll() check in the connection
has any pending message (while processing 'rlist').

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2760 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2a01e387
......@@ -147,6 +147,8 @@ class EpollEventManager(object):
conn.readable()
finally:
conn.unlock()
if conn.hasPendingMessages():
self._addPendingConnection(conn)
t = time()
for conn in self.connection_dict.values():
......
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