Commit aef0c5cd authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1168 Make sure waittime is updated when after leaving heartbeat in

Sync.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 90be45b1
......@@ -687,6 +687,9 @@ class Sync extends RequestProcessor {
}
}
// update the waittime waited
self::$waitTime = $sc->GetWaitedSeconds();
// in case there are no changes and no other request has synchronized while we waited, we can reply with an empty response
if (!$foundchanges && $status == SYNC_STATUS_SUCCESS) {
// if there were changes to the SPA or CPOs we need to save this before we terminate
......
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