Explorar el Código

fix timeout check in await

tags/2.0.1
Jonathan Cobb hace 4 años
padre
commit
b2f8b5e687
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main/java/org/cobbzilla/util/daemon/Await.java

+ 1
- 1
src/main/java/org/cobbzilla/util/daemon/Await.java Ver fichero

@@ -194,7 +194,7 @@ public class Await {
log.warn("awaitAll: exception in sleepCallback: "+shortError(e));
}
}
if (clock.now() - start < timeout) break;
if (clock.now() - start > timeout) break;
if (sleepTime > 0) sleep(sleepTime, "awaitAll: awaiting tasks: "+awaiting.size()+"/"+futures.size());
}



Cargando…
Cancelar
Guardar