Skip to content
Snippets Groups Projects
Commit f05d17ac authored by felmer's avatar felmer
Browse files

SSDM-2054: "Finalizer counts the time from the end of the primary archiving...

SSDM-2054: "Finalizer counts the time from the end of the primary archiving job and not when it is started." improve logging of WaitingHelper

SVN: 34336
parent 37cd5ffb
No related branches found
No related tags found
No related merge requests found
...@@ -89,9 +89,9 @@ public class WaitingHelper ...@@ -89,9 +89,9 @@ public class WaitingHelper
*/ */
public boolean waitOn(long startTime, IWaitingCondition condition) public boolean waitOn(long startTime, IWaitingCondition condition)
{ {
long t = startTime; long t = provider.getTimeInMilliseconds();
long lastLogTime = startTime;
long logInterval = MINIMUM_LOG_INTERVAL; long logInterval = MINIMUM_LOG_INTERVAL;
long lastLogTime = t - logInterval;
while (t < startTime + timeOut) while (t < startTime + timeOut)
{ {
long duration = t - startTime; long duration = t - startTime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment