aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java b/src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java
index d3f8cbbfe7..1812d8f4f0 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/GrpcRemoteExecutor.java
@@ -39,12 +39,15 @@ public class GrpcRemoteExecutor extends GrpcActionCache {
this.executionIface = executionIface;
}
- public GrpcRemoteExecutor(ManagedChannel channel, RemoteOptions options) {
+ public GrpcRemoteExecutor(
+ ManagedChannel channel, ChannelOptions channelOptions, RemoteOptions options) {
super(
options,
- GrpcInterfaces.casInterface(options.grpcTimeoutSeconds, channel),
- GrpcInterfaces.executionCacheInterface(options.grpcTimeoutSeconds, channel));
- this.executionIface = GrpcInterfaces.executionInterface(options.grpcTimeoutSeconds, channel);
+ GrpcInterfaces.casInterface(options.grpcTimeoutSeconds, channel, channelOptions),
+ GrpcInterfaces.executionCacheInterface(
+ options.grpcTimeoutSeconds, channel, channelOptions));
+ this.executionIface =
+ GrpcInterfaces.executionInterface(options.grpcTimeoutSeconds, channel, channelOptions);
}
public ExecuteReply executeRemotely(ExecuteRequest request) {