Skip to content

Commit

Permalink
Changed: Enabled using condition instead of polling
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoBoettger-KarlStorz committed Oct 20, 2016
1 parent ecb96dd commit 766806a
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,10 @@ public void finished(Result result) {
}

public void waitForStatusChange() {
//try {
// statusChanged.tryAcquire(15, TimeUnit.SECONDS);
//} catch (InterruptedException e) {
//ignore
//}
try {
Thread.sleep(5000);
statusChanged.tryAcquire(15, TimeUnit.SECONDS);
} catch (InterruptedException e) {

//ignore
}
}

Expand Down

0 comments on commit 766806a

Please sign in to comment.