Skip to content

Commit

Permalink
Use forked version of grpcio
Browse files Browse the repository at this point in the history
This includes tikv/grpc-rs#211 which stops us
seeing RpcFinished errors when the server responds very quickly to
requests.

Unfortunately, this will slow down building pants, as you'll need to
checkout the git repository, but that should be a once-per-machine cost.
  • Loading branch information
illicitonion committed Aug 13, 2018
1 parent e189acd commit 732692c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions src/rust/engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rust/engine/fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ digest = "0.6.2"
futures = "^0.1.16"
futures-cpupool = "0.1"
glob = "0.2.11"
grpcio = { version = "0.3", features = ["secure"] }
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../hashing" }
ignore = "0.3.1"
indexmap = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/rust/engine/process_execution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bytes = "0.4.5"
digest = "0.6.2"
fs = { path = "../fs" }
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../hashing" }
log = "0.4"
protobuf = { version = "2.0.4", features = ["with-bytes"] }
Expand Down
2 changes: 1 addition & 1 deletion src/rust/engine/process_execution/bazel_protos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false
[dependencies]
bytes = "0.4.5"
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../../hashing" }
protobuf = { version = "2.0.4", features = ["with-bytes"] }

Expand Down
2 changes: 1 addition & 1 deletion src/rust/engine/testutil/mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
bazel_protos = { path = "../../process_execution/bazel_protos" }
bytes = "0.4.5"
futures = "^0.1.16"
grpcio = { version = "0.3", features = ["secure"] }
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
hashing = { path = "../../hashing" }
protobuf = { version = "2.0.4", features = ["with-bytes"] }
testutil = { path = ".." }

0 comments on commit 732692c

Please sign in to comment.