You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/03/31 10:09:09 UTC

[flink] branch release-1.9 updated: [FLINK-16018] Increase default value of web.timeout to 10 minutes

This is an automated email from the ASF dual-hosted git repository.

trohrmann pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.9 by this push:
     new 9b2de89  [FLINK-16018] Increase default value of web.timeout to 10 minutes
9b2de89 is described below

commit 9b2de892f5caef18281ffa30a3e570d60f05ce2d
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Mon Mar 30 14:37:14 2020 +0200

    [FLINK-16018] Increase default value of web.timeout to 10 minutes
    
    In order to not fail the job submission with a TimeoutException if
    it takes longer than 10 s, this commit increases the web.timeout to
    10 minutes.
    
    This closes #11565.
---
 docs/_includes/generated/web_configuration.html                         | 2 +-
 flink-core/src/main/java/org/apache/flink/configuration/WebOptions.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/_includes/generated/web_configuration.html b/docs/_includes/generated/web_configuration.html
index a09f666..34ea6f1 100644
--- a/docs/_includes/generated/web_configuration.html
+++ b/docs/_includes/generated/web_configuration.html
@@ -69,7 +69,7 @@
         </tr>
         <tr>
             <td><h5>web.timeout</h5></td>
-            <td style="word-wrap: break-word;">10000</td>
+            <td style="word-wrap: break-word;">600000</td>
             <td>Timeout for asynchronous operations by the web monitor in milliseconds.</td>
         </tr>
         <tr>
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/WebOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/WebOptions.java
index 0b630e9..8f7b627 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/WebOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/WebOptions.java
@@ -176,7 +176,7 @@ public class WebOptions {
 	 */
 	public static final ConfigOption<Long> TIMEOUT =
 		key("web.timeout")
-		.defaultValue(10L * 1000L)
+		.defaultValue(10L * 60L * 1000L)
 		.withDescription("Timeout for asynchronous operations by the web monitor in milliseconds.");
 
 	// ------------------------------------------------------------------------