Description redacted.
--
MOS_MIGRATED_REVID=133584935
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
index 78747c8..9ed8ff2 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
@@ -17,9 +17,7 @@
import com.google.devtools.common.options.Option;
import com.google.devtools.common.options.OptionsBase;
-/**
- * Options for remote execution and distributed caching.
- */
+/** Options for remote execution and distributed caching. */
public final class RemoteOptions extends OptionsBase {
@Option(
name = "rest_cache_url",
@@ -66,4 +64,12 @@
+ "For client mode only."
)
public String remoteWorker;
+
+ @Option(
+ name = "grpc_timeout_seconds",
+ defaultValue = "60",
+ category = "remote",
+ help = "The maximal number of seconds to wait for remote calls. For client mode only."
+ )
+ public int grpcTimeoutSeconds;
}