Skip to content

Commit

Permalink
Oops. Actual do the waiting too...
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Sep 7, 2011
1 parent db2b967 commit 50f7ee2
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -65,6 +65,7 @@ public static String calculate(String service, String model,
// that time after each wait
int waitingTime = andABit(2000*tailing);
logger.debug("Waiting " + waitingTime + "ms.");
Thread.sleep(waitingTime);
state = Task.getState(task);
if (state.isRedirected()) {
task = state.getResults();
Expand Down

0 comments on commit 50f7ee2

Please sign in to comment.