Commit 9097e48c authored by Vincent Pelletier's avatar Vincent Pelletier

Call populate as early as possible.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2434 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ff0d9d70
......@@ -272,6 +272,7 @@ class Application(object):
or not self.has_last_ids:
self.em.poll(1)
self.ready = True
self.replicator.populate()
self.master_conn.notify(Packets.NotifyReady())
def doOperation(self):
......@@ -287,8 +288,6 @@ class Application(object):
self.dm.dropUnfinishedData()
self.tm.reset()
self.replicator.populate()
while True:
em.poll(1)
if self.replicator.pending():
......
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