aboutsummaryrefslogtreecommitdiff
path: root/src/table/sync.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/table/sync.rs
parentf3bf34b6a18c547c5fb29346787648048c093d52 (diff)
downloadgarage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.tar.gz
garage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.zip
Less strict timeouts
Diffstat (limited to 'src/table/sync.rs')
-rw-r--r--src/table/sync.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/table/sync.rs b/src/table/sync.rs
index b3756a5e..62b88a58 100644
--- a/src/table/sync.rs
+++ b/src/table/sync.rs
@@ -24,7 +24,8 @@ use crate::merkle::*;
use crate::replication::*;
use crate::*;
-const TABLE_SYNC_RPC_TIMEOUT: Duration = Duration::from_secs(30);
+// Sync RPC can contain a lot of data, so have a 1min timeout
+const TABLE_SYNC_RPC_TIMEOUT: Duration = Duration::from_secs(60);
// Do anti-entropy every 10 minutes
const ANTI_ENTROPY_INTERVAL: Duration = Duration::from_secs(10 * 60);