amrishlal commented on a change in pull request #7260:
URL: https://github.com/apache/pinot/pull/7260#discussion_r684650348



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/transport/InstanceRequestHandler.java
##########
@@ -54,16 +54,17 @@
 public class InstanceRequestHandler extends 
SimpleChannelInboundHandler<ByteBuf> {
   private static final Logger LOGGER = 
LoggerFactory.getLogger(InstanceRequestHandler.class);
 
-  // TODO: make it configurable
-  private static final int SLOW_QUERY_LATENCY_THRESHOLD_MS = 100;
+  private final long _slowQueryLatencyThresholdMs;

Review comment:
       This should be set directly from config instead of setting it in 
constructor.




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