apply healing per object at 1024 cycles (#18050)

- we already have MRF for most recent failures
- we trigger healing during HEAD/GET operation

These are enough, also change the default max wait
from 5sec to 1sec for default scanner speed.
This commit is contained in:
Harshavardhana
2023-09-19 09:24:22 -07:00
committed by GitHub
parent c5279ec630
commit 2add57cfed
2 changed files with 5 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ func LookupConfig(kvs config.KVS) (cfg Config, err error) {
case "fast":
cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
case "default":
cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, 5*time.Second, time.Minute
cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
case "slow":
cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
case "slowest":