virajjasani commented on a change in pull request #3397:
URL: https://github.com/apache/hbase/pull/3397#discussion_r657758191
##########
File path:
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/util/DelayedUtil.java
##########
@@ -79,7 +79,7 @@ public String toString() {
*/
public static <E extends Delayed> E takeWithoutInterrupt(final DelayQueue<E>
queue) {
try {
- return queue.take();
+ return queue.poll(15, TimeUnit.SECONDS);
Review comment:
Although it sounds good, I believe so far we have only 2 callers and
both can pass 15s. That should be fine? Let me change this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]