aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2017-09-25 10:33:03 -0400
committerGravatar John Cater <jcater@google.com>2017-09-25 12:01:05 -0400
commit4af0d7bae584922a4b87d34a901ef7bf049ab90f (patch)
tree9fefd22bb3795bb2e7c4e846151d11b3ea5ac9f1 /src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
parent9ebc4b222c5eb3d788ec4f6ae837d8e745105b02 (diff)
Increase the connection timeout between the client and the server.
Very large server instances can take >10 seconds for GC, and if they are hit at an inopportune moment, they may get killed needlessly. RELNOTES: None. PiperOrigin-RevId: 169905185
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
index a5bb9d7531..6d96793d73 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
@@ -401,7 +401,7 @@ public class BlazeServerStartupOptions extends OptionsBase {
@Option(
name = "connect_timeout_secs",
- defaultValue = "10",
+ defaultValue = "30",
category = "server startup",
documentationCategory = OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS,
effectTags = {OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION},