diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-11 16:12:07 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-11 16:12:07 +0100 |
commit | 638c5a3ce006eba9d90a6358655ba2091423efd7 (patch) | |
tree | abdb44553c6ea93907521db3fac9c8c788c9778f /src/rpc/rpc_helper.rs | |
parent | 399f137fd079be2c59b032e67d9ccd8d9214407e (diff) | |
download | garage-638c5a3ce006eba9d90a6358655ba2091423efd7.tar.gz garage-638c5a3ce006eba9d90a6358655ba2091423efd7.zip |
PollRange: add extra RPC delay after quorum is achieved,
to give a chance to the 3rd node to respond
Diffstat (limited to 'src/rpc/rpc_helper.rs')
-rw-r--r-- | src/rpc/rpc_helper.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rpc/rpc_helper.rs b/src/rpc/rpc_helper.rs index 1ec250c3..e59c372a 100644 --- a/src/rpc/rpc_helper.rs +++ b/src/rpc/rpc_helper.rs @@ -15,10 +15,9 @@ use opentelemetry::{ }; pub use netapp::endpoint::{Endpoint, EndpointHandler, StreamingEndpointHandler}; -use netapp::message::IntoReq; pub use netapp::message::{ - Message as Rpc, OrderTag, Req, RequestPriority, Resp, PRIO_BACKGROUND, PRIO_HIGH, PRIO_NORMAL, - PRIO_SECONDARY, + IntoReq, Message as Rpc, OrderTag, Req, RequestPriority, Resp, PRIO_BACKGROUND, PRIO_HIGH, + PRIO_NORMAL, PRIO_SECONDARY, }; use netapp::peering::fullmesh::FullMeshPeeringStrategy; pub use netapp::{self, NetApp, NodeID}; |