aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2022-09-05 12:35:08 +0200
committerAlex <alex@adnab.me>2022-09-05 12:35:08 +0200
commit0009fd136c744944888df15d706ca08ca251aed7 (patch)
treec77f5299ac72bcb69c3832022fd3c05140489f7a /src/model
parent532eca7ff94e4710283fb38951a349a83654de59 (diff)
parente1751c8a9cb2a0d91b5aed636ee72ca4fa31ca68 (diff)
downloadgarage-0009fd136c744944888df15d706ca08ca251aed7.tar.gz
garage-0009fd136c744944888df15d706ca08ca251aed7.zip
Merge pull request 'Make block resync speed dynamically configurable' (#369) from resync-ajustable-speed into main
Included in this PR: - [x] Small refactor, resync code is moved to a separate `block/resync.rs` file - [x] Block resync tranquility is no longer in config file, it is set dynamically using `garage worker set resync-tranquility` (this parameter is persisted over Garage restarts) - [x] Up to 4 block resync workers can be activated to run simultaneously to speed up big resyncs, this parameter is set dynamically using `garage worker set resync-n-workers` Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/369
Diffstat (limited to 'src/model')
-rw-r--r--src/model/garage.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs
index 15769a17..4dd24582 100644
--- a/src/model/garage.rs
+++ b/src/model/garage.rs
@@ -159,7 +159,6 @@ impl Garage {
&db,
config.data_dir.clone(),
config.compression_level,
- config.block_manager_background_tranquility,
data_rep_param,
system.clone(),
);