dimas-b commented on code in PR #1431:
URL: https://github.com/apache/polaris/pull/1431#discussion_r2057041719


##########
server-templates/api.mustache:
##########
@@ -108,6 +110,7 @@ public class {{classname}}  {
   @Produces({ {{#produces}}"{{{mediaType}}}"{{^-last}}, 
{{/-last}}{{/produces}} }){{/hasProduces}}{{#hasAuthMethods}}
   
{{#authMethods}}{{#isOAuth}}@RolesAllowed("**"){{/isOAuth}}{{/authMethods}}{{/hasAuthMethods}}
   @Timed("{{metricsPrefix}}.{{baseName}}.{{nickname}}")
+  @Timeout

Review Comment:
   > The API method will throw a TimeoutException
   
   That is clear :) What happens to the server threads that are still executing 
the request that timed out?



-- 
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: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to