satellite/audit: increases audit worker concurrency to 2
Change-Id: Ibe3e3801b79accffbcfe9e2e02c96fc963894a7f
This commit is contained in:
parent
c5871b83b0
commit
18078bf7ee
@ -28,7 +28,7 @@ type Config struct {
|
|||||||
ChoreInterval time.Duration `help:"how often to run the reservoir chore" releaseDefault:"24h" devDefault:"1m"`
|
ChoreInterval time.Duration `help:"how often to run the reservoir chore" releaseDefault:"24h" devDefault:"1m"`
|
||||||
QueueInterval time.Duration `help:"how often to recheck an empty audit queue" releaseDefault:"1h" devDefault:"1m"`
|
QueueInterval time.Duration `help:"how often to recheck an empty audit queue" releaseDefault:"1h" devDefault:"1m"`
|
||||||
Slots int `help:"number of reservoir slots allotted for nodes, currently capped at 3" default:"3"`
|
Slots int `help:"number of reservoir slots allotted for nodes, currently capped at 3" default:"3"`
|
||||||
WorkerConcurrency int `help:"number of workers to run audits on paths" default:"1"`
|
WorkerConcurrency int `help:"number of workers to run audits on paths" default:"2"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Worker contains information for populating audit queue and processing audits.
|
// Worker contains information for populating audit queue and processing audits.
|
||||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -23,7 +23,7 @@
|
|||||||
# audit.slots: 3
|
# audit.slots: 3
|
||||||
|
|
||||||
# number of workers to run audits on paths
|
# number of workers to run audits on paths
|
||||||
# audit.worker-concurrency: 1
|
# audit.worker-concurrency: 2
|
||||||
|
|
||||||
# how frequently checker should check for bad segments
|
# how frequently checker should check for bad segments
|
||||||
# checker.interval: 30s
|
# checker.interval: 30s
|
||||||
|
Loading…
Reference in New Issue
Block a user