also have a minimum value for concurrent recoveries, at 3
This commit is contained in:
parent
f62f7b8ffe
commit
9acae60dbf
|
@ -51,6 +51,8 @@ public class RecoveryThrottler extends AbstractComponent {
|
|||
// tap it at 10 (is it a good number?)
|
||||
if (defaultConcurrent > 10) {
|
||||
defaultConcurrent = 10;
|
||||
} else if (defaultConcurrent < 3) {
|
||||
defaultConcurrent = 3;
|
||||
}
|
||||
|
||||
concurrentRecoveries = componentSettings.getAsInt("concurrent_recoveries", defaultConcurrent);
|
||||
|
|
Loading…
Reference in New Issue