ankitsultana commented on code in PR #16442:
URL: https://github.com/apache/pinot/pull/16442#discussion_r2249318490


##########
pinot-core/src/main/java/org/apache/pinot/core/routing/RoutingManager.java:
##########
@@ -117,4 +117,11 @@ default boolean isTableDisabled(String tableNameWithType) {
    */
   @Nullable
   Set<String> getServingInstances(String tableNameWithType);
+
+  /**
+   * Returns the query timeout in milliseconds for the given table.
+   * Returns {@code null} if the table does not have a query timeout set.
+   */
+  @Nullable
+  Long getQueryTimeoutMs(String tableNameWithType);

Review Comment:
   query timeout should be associated with something like a `RequestContext`. 
Can we avoid this method?



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