diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-01 16:30:44 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-01 16:30:44 +0200 |
commit | df094bd8075332bb765b8b44c9b19cf2485e9ca8 (patch) | |
tree | 3cc838ad263c10960903b8b865e356d14eef9f60 /src/table/gc.rs | |
parent | f3bf34b6a18c547c5fb29346787648048c093d52 (diff) | |
download | garage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.tar.gz garage-df094bd8075332bb765b8b44c9b19cf2485e9ca8.zip |
Less strict timeouts
Diffstat (limited to 'src/table/gc.rs')
-rw-r--r-- | src/table/gc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/table/gc.rs b/src/table/gc.rs index 12218d97..6cae9701 100644 --- a/src/table/gc.rs +++ b/src/table/gc.rs @@ -25,7 +25,8 @@ use crate::replication::*; use crate::schema::*; const TABLE_GC_BATCH_SIZE: usize = 1024; -const TABLE_GC_RPC_TIMEOUT: Duration = Duration::from_secs(30); +// Same timeout as NEED_BLOCK_QUERY_TIMEOUT in block manager +const TABLE_GC_RPC_TIMEOUT: Duration = Duration::from_secs(15); // GC delay for table entries: 1 day (24 hours) // (the delay before the entry is added in the GC todo list |