aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rpc_helper.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-01 16:30:44 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-01 16:30:44 +0200
commitdf094bd8075332bb765b8b44c9b19cf2485e9ca8 (patch)
tree3cc838ad263c10960903b8b865e356d14eef9f60 /src/rpc/rpc_helper.rs
parentf3bf34b6a18c547c5fb29346787648048c093d52 (diff)
downloadgarage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.tar.gz
garage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.zip
Less strict timeouts
Diffstat (limited to 'src/rpc/rpc_helper.rs')
-rw-r--r--src/rpc/rpc_helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_helper.rs b/src/rpc/rpc_helper.rs
index 6c79c502..e9575261 100644
--- a/src/rpc/rpc_helper.rs
+++ b/src/rpc/rpc_helper.rs
@@ -31,7 +31,7 @@ use garage_util::metrics::RecordDuration;
use crate::metrics::RpcMetrics;
use crate::ring::Ring;
-const DEFAULT_TIMEOUT: Duration = Duration::from_secs(10);
+const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30);
// Don't allow more than 100 concurrent outgoing RPCs.
const MAX_CONCURRENT_REQUESTS: usize = 100;