From 4af0d7bae584922a4b87d34a901ef7bf049ab90f Mon Sep 17 00:00:00 2001 From: lberki Date: Mon, 25 Sep 2017 10:33:03 -0400 Subject: 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 --- .../google/devtools/build/lib/runtime/BlazeServerStartupOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/google/devtools') 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}, -- cgit v1.2.3