abhishekagarwal87 commented on code in PR #14576:
URL: https://github.com/apache/druid/pull/14576#discussion_r1269002266


##########
services/src/main/java/org/apache/druid/cli/QueryJettyServerInitializer.java:
##########
@@ -95,6 +107,19 @@ public void initialize(Server server, Injector injector)
       );
     }
 
+    if (querySchedulerConfig.getNumThreads() > 0
+        && querySchedulerConfig.getNumThreads() < serverConfig.getNumThreads()
+        && serverConfig.isEnableQueryRequestsQueuing()) {
+      // Add QoS filter for query requests so they don't take up more than 
querySchedulerConfig#numThreads
+      log.info("Enabling QoS Filter on query requests with limit [%d].", 
querySchedulerConfig.getNumThreads());
+      JettyBindings.QosFilterHolder filterHolder = new 
JettyBindings.QosFilterHolder(
+          new String[]{"/druid/v2/*"},

Review Comment:
   clarified the intent inside the comment. 



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