From 9819cb3eb5d3cce70873db1d5578a058b50008dd Mon Sep 17 00:00:00 2001 From: Vatsa <9.vatsa@gmail.com> Date: Wed, 25 Jan 2023 10:14:10 -0500 Subject: [PATCH] Update HandlerFunctionAdapter::setAsyncRequestTimeout Javadoc Closes gh-29882 --- .../web/servlet/function/support/HandlerFunctionAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/support/HandlerFunctionAdapter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/support/HandlerFunctionAdapter.java index 819c7e9e210..acf341acc4d 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/support/HandlerFunctionAdapter.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/support/HandlerFunctionAdapter.java @@ -75,6 +75,7 @@ public class HandlerFunctionAdapter implements HandlerAdapter, Ordered { * for further processing of the concurrently produced result. *
If this value is not set, the default timeout of the underlying * implementation is used. + * A value of 0 or less indicates that the asynchronous operation will never time out. * @param timeout the timeout value in milliseconds */ public void setAsyncRequestTimeout(long timeout) {