Commit f45ba7d2 authored by Nicolas Delaby's avatar Nicolas Delaby

do not reset subscriber after create it

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16580 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c6eb5bc1
...@@ -78,7 +78,8 @@ class PublicationSynchronization(XMLSyncUtils): ...@@ -78,7 +78,8 @@ class PublicationSynchronization(XMLSyncUtils):
subscriber.setTargetURI(self.getSourceURI(xml_client)) subscriber.setTargetURI(self.getSourceURI(xml_client))
# If slow sync, then resend everything # If slow sync, then resend everything
if alert_code == self.SLOW_SYNC: if alert_code == self.SLOW_SYNC and \
subscriber.getNextAnchor() != self.NULL_ANCHOR:
LOG('Warning !!!, reseting client synchronization for subscriber:', WARNING, LOG('Warning !!!, reseting client synchronization for subscriber:', WARNING,
subscriber.getPath()) subscriber.getPath())
subscriber.resetAllSignatures() subscriber.resetAllSignatures()
......
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