Commit feea26c9 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Try executed pending events only if something has changed.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1631 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5d9248b6
......@@ -69,9 +69,9 @@ class ClientOperationHandler(BaseClientAndStorageOperationHandler):
except KeyError:
pass
del app.transaction_dict[tid]
# Now it may be possible to execute some events.
app.executeQueuedEvents()
break
# Now it may be possible to execute some events.
app.executeQueuedEvents()
def timeoutExpired(self, conn):
self.dealWithClientFailure(conn.getUUID())
......
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