diff options
author | Alex Auvolat <alex@adnab.me> | 2023-09-05 15:57:25 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-09-06 16:35:28 +0200 |
commit | a44f4869312678e3c6eaac1a26a7beb4652f3e69 (patch) | |
tree | 653a7ac26e3ddf5ff344452fea3c26d7226510ea /src/block/resync.rs | |
parent | 3a74844df02b5ecec0b96bfb8b2ff3bcdd33f7f4 (diff) | |
download | garage-a44f4869312678e3c6eaac1a26a7beb4652f3e69.tar.gz garage-a44f4869312678e3c6eaac1a26a7beb4652f3e69.zip |
block manager: refactoring & increase max worker count to 8
Diffstat (limited to 'src/block/resync.rs')
-rw-r--r-- | src/block/resync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/resync.rs b/src/block/resync.rs index bb43ad7e..9c1da4a7 100644 --- a/src/block/resync.rs +++ b/src/block/resync.rs @@ -41,7 +41,7 @@ pub(crate) const RESYNC_RETRY_DELAY: Duration = Duration::from_secs(60); pub(crate) const RESYNC_RETRY_DELAY_MAX_BACKOFF_POWER: u64 = 6; // No more than 4 resync workers can be running in the system -pub(crate) const MAX_RESYNC_WORKERS: usize = 4; +pub(crate) const MAX_RESYNC_WORKERS: usize = 8; // Resync tranquility is initially set to 2, but can be changed in the CLI // and the updated version is persisted over Garage restarts const INITIAL_RESYNC_TRANQUILITY: u32 = 2; |