asdf2014 commented on a change in pull request #6158: Make time-related
variables more readable
URL: https://github.com/apache/incubator-druid/pull/6158#discussion_r209799605
##########
File path:
indexing-service/src/main/java/io/druid/indexing/overlord/TaskQueue.java
##########
@@ -290,7 +291,7 @@ public String apply(Task task)
}
// awaitNanos because management may become necessary without this
condition signalling,
// due to e.g. tasks becoming ready when other folks mess with the
TaskLockbox.
- managementMayBeNecessary.awaitNanos(60000000000L /* 60 seconds */);
+ managementMayBeNecessary.awaitNanos(TimeUnit.SECONDS.toNanos(60));
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]