diff options
author | Alex Auvolat <alex@adnab.me> | 2021-11-03 18:28:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-11-04 13:26:59 +0100 |
commit | 2090a6187f7d106e0641bed4cac145ad5184995d (patch) | |
tree | 822dd5ff1adaaf4b1c4384b2b3604054f378770b /src/garage/repair.rs | |
parent | 6f13d083ab188060d2a2dc5f619070a445fe61ba (diff) | |
download | garage-2090a6187f7d106e0641bed4cac145ad5184995d.tar.gz garage-2090a6187f7d106e0641bed4cac145ad5184995d.zip |
Add tranquilizer mechanism to improve on token bucket mechanismtranquility
Diffstat (limited to 'src/garage/repair.rs')
-rw-r--r-- | src/garage/repair.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/repair.rs b/src/garage/repair.rs index bfe7bf84..a786f1f1 100644 --- a/src/garage/repair.rs +++ b/src/garage/repair.rs @@ -51,11 +51,11 @@ impl Repair { .repair_data_store(&must_exit) .await?; } - RepairWhat::Scrub { limit } => { + RepairWhat::Scrub { tranquility } => { info!("Verifying integrity of stored blocks"); self.garage .block_manager - .scrub_data_store(&must_exit, limit) + .scrub_data_store(&must_exit, tranquility) .await?; } } |