Commit f3a6da95 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #505 in ZP/z-push from feature/ZP-1168-log-wait-time-in-info-level to develop

* commit 'aef0c5cd':
  ZP-1168 Make sure waittime is updated when after leaving heartbeat in Sync.
parents 5d50af8e aef0c5cd
......@@ -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