Skip to content

Commit 732692c

Browse files
committed
Use forked version of grpcio
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.
1 parent e189acd commit 732692c

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

src/rust/engine/Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/engine/fs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ digest = "0.6.2"
1313
futures = "^0.1.16"
1414
futures-cpupool = "0.1"
1515
glob = "0.2.11"
16-
grpcio = { version = "0.3", features = ["secure"] }
16+
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
1717
hashing = { path = "../hashing" }
1818
ignore = "0.3.1"
1919
indexmap = "1"

src/rust/engine/process_execution/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bytes = "0.4.5"
1212
digest = "0.6.2"
1313
fs = { path = "../fs" }
1414
futures = "^0.1.16"
15-
grpcio = { version = "0.3", features = ["secure"] }
15+
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
1616
hashing = { path = "../hashing" }
1717
log = "0.4"
1818
protobuf = { version = "2.0.4", features = ["with-bytes"] }

src/rust/engine/process_execution/bazel_protos/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
[dependencies]
88
bytes = "0.4.5"
99
futures = "^0.1.16"
10-
grpcio = { version = "0.3", features = ["secure"] }
10+
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
1111
hashing = { path = "../../hashing" }
1212
protobuf = { version = "2.0.4", features = ["with-bytes"] }
1313

src/rust/engine/testutil/mock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
bazel_protos = { path = "../../process_execution/bazel_protos" }
99
bytes = "0.4.5"
1010
futures = "^0.1.16"
11-
grpcio = { version = "0.3", features = ["secure"] }
11+
grpcio = { git = "https://github.com/illicitonion/grpc-rs.git", rev = "d106c615bc0c289ba6d1ce6871786266d109c31c", features = ["secure"] }
1212
hashing = { path = "../../hashing" }
1313
protobuf = { version = "2.0.4", features = ["with-bytes"] }
1414
testutil = { path = ".." }

0 commit comments

Comments
 (0)