From f05d17ac0c6b3c99d9a4d73c1697f713be980357 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Thu, 9 Jul 2015 07:23:57 +0000 Subject: [PATCH] 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 --- .../java/ch/systemsx/cisd/common/utilities/WaitingHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/source/java/ch/systemsx/cisd/common/utilities/WaitingHelper.java b/common/source/java/ch/systemsx/cisd/common/utilities/WaitingHelper.java index 43461af69f1..079a9abb503 100644 --- a/common/source/java/ch/systemsx/cisd/common/utilities/WaitingHelper.java +++ b/common/source/java/ch/systemsx/cisd/common/utilities/WaitingHelper.java @@ -89,9 +89,9 @@ public class WaitingHelper */ public boolean waitOn(long startTime, IWaitingCondition condition) { - long t = startTime; - long lastLogTime = startTime; + long t = provider.getTimeInMilliseconds(); long logInterval = MINIMUM_LOG_INTERVAL; + long lastLogTime = t - logInterval; while (t < startTime + timeOut) { long duration = t - startTime; -- GitLab