diff options
author | 2017-06-14 16:11:32 +0200 | |
---|---|---|
committer | 2017-06-14 16:21:11 +0200 | |
commit | 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e (patch) | |
tree | a71f15b29d072870f13bf22d232f1cceb9fdeabf /src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java | |
parent | 4d302735b0e5c8284946ba35e58f2bad9bca70ca (diff) |
Switching to Watcher API instead of wait_for_completion, in preparation for
deprecating the wait_for_completion field.
Note on errors: in the RemoteWorker, I currently handle all errors as onError of the watch call. Other options are: pass them as the operation error field, and pass some of them as the onError of the execute call. For now, I'm just using the simplest option; the Bazel client is ready to handle all possible options.
RELNOTES: none
PiperOrigin-RevId: 158974207
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java index 383667437d..412031bb1b 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnRunner.java @@ -115,7 +115,6 @@ final class RemoteSpawnRunner implements SpawnRunner { ExecuteRequest.newBuilder() .setInstanceName(options.remoteInstanceName) .setAction(action) - .setWaitForCompletion(true) .setTotalInputFileCount(inputMap.size()) .setSkipCacheLookup(!options.remoteAcceptCached); result = executor.executeRemotely(request.build()).getResult(); |