Debugging flag (will rarely be used by actual users) that disables remote
execution cache.
--
PiperOrigin-RevId: 141807596
MOS_MIGRATED_REVID=141807596
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 6974aa5..538c554 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
@@ -105,5 +105,13 @@
category = "remote",
help = "The maximal number of seconds to wait for remote calls. For client mode only."
)
- public int grpcTimeoutSeconds;
+ public int grpcTimeoutSeconds;
+
+ @Option(
+ name = "remote_accept_cached",
+ defaultValue = "true",
+ category = "remote",
+ help = "Whether to accept remotely cached action results."
+ )
+ public boolean remoteAcceptCached;
}