You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
private <V> V waitOnFutureInterruptible(Future<V> future, long timeout, TimeUnit timeUnit)
throws ExecutionException, InterruptedException, TimeoutException {
isNotNull(timeUnit, "timeUnit");
long deadline = Clock.currentTimeMillis() + timeUnit.toMillis(timeout);
deadline should not be set to the current time (in ms) plus the timeout as it would be a huge number (currently set to 1,468,533,720,000) and the handling of TimeoutException only decreases it a small amount at the time
deadline should not be set to the current time (in ms) plus the timeout as it would be a huge number (currently set to 1,468,533,720,000) and the handling of TimeoutException only decreases it a small amount at the time
IMO deadline should have been set to the timeout
The text was updated successfully, but these errors were encountered: