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/cli | |
parent | 6f13d083ab188060d2a2dc5f619070a445fe61ba (diff) | |
download | garage-tranquility.tar.gz garage-tranquility.zip |
Add tranquilizer mechanism to improve on token bucket mechanismtranquility
Diffstat (limited to 'src/garage/cli')
-rw-r--r-- | src/garage/cli/structs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs index 620be9ef..0df6ef87 100644 --- a/src/garage/cli/structs.rs +++ b/src/garage/cli/structs.rs @@ -285,9 +285,9 @@ pub enum RepairWhat { /// Verify integrity of all blocks on disc (extremely slow, i/o intensive) #[structopt(name = "scrub")] Scrub { - /// Limit on i/o speed, in B/s - #[structopt(name = "limit")] - limit: Option<usize>, + /// Tranquility factor (see tranquilizer documentation) + #[structopt(name = "tranquility", default_value = "2")] + tranquility: u32, }, } |