BartMiki commented on code in PR #15754:
URL: https://github.com/apache/druid/pull/15754#discussion_r1478093957


##########
processing/src/main/java/org/apache/druid/query/QueryRunner.java:
##########
@@ -31,7 +31,7 @@ public interface QueryRunner<T>
    * Runs the given query and returns results in a time-ordered sequence.
    */
   Sequence<T> run(QueryPlus<T> queryPlus, ResponseContext responseContext);
-  
+

Review Comment:
   sure, done



##########
server/src/main/java/org/apache/druid/client/DirectDruidClient.java:
##########
@@ -551,7 +553,7 @@ private void cancelQuery(Query<T> query, String cancelUrl)
             if (!responseFuture.isDone()) {
               log.error("Error cancelling query[%s]", query);
             }
-            StatusResponseHolder response = responseFuture.get();
+            StatusResponseHolder response = responseFuture.get(5, 
TimeUnit.SECONDS);

Review Comment:
   yes, make sense, let me set to 30 then



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to