This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new a1264aa [FLINK-16018] Increase default value of web.timeout to 10
minutes
a1264aa is described below
commit a1264aa6a743ecf29357856953be134dfdfafe55
Author: Till Rohrmann <[email protected]>
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 f377f51..4b5a98d 100644
--- a/docs/_includes/generated/web_configuration.html
+++ b/docs/_includes/generated/web_configuration.html
@@ -70,7 +70,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>Long</td>
<td>Timeout for asynchronous operations by the web monitor in
milliseconds.</td>
</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 762f376..cb4636e 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
@@ -178,7 +178,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.");
//
------------------------------------------------------------------------