repairer: fix config comments (#2105)
This commit is contained in:
parent
e2c5d75b4c
commit
3fe8343b6c
@ -31,7 +31,7 @@ var (
|
||||
|
||||
// Config contains configurable values for checker
|
||||
type Config struct {
|
||||
Interval time.Duration `help:"how frequently checker should audit segments" releaseDefault:"30s" devDefault:"0h0m10s"`
|
||||
Interval time.Duration `help:"how frequently checker should check for bad segments" releaseDefault:"30s" devDefault:"0h0m10s"`
|
||||
IrreparableInterval time.Duration `help:"how frequently irrepairable checker should check for lost pieces" releaseDefault:"15s" devDefault:"0h0m5s"`
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ var (
|
||||
// Config contains configurable values for repairer
|
||||
type Config struct {
|
||||
MaxRepair int `help:"maximum segments that can be repaired concurrently" releaseDefault:"5" devDefault:"1"`
|
||||
Interval time.Duration `help:"how frequently checker should audit segments" releaseDefault:"1h" devDefault:"0h5m0s"`
|
||||
Interval time.Duration `help:"how frequently repairer should try and repair more data" releaseDefault:"1h" devDefault:"0h5m0s"`
|
||||
Timeout time.Duration `help:"time limit for uploading repaired pieces to new storage nodes" default:"10m0s"`
|
||||
MaxBufferMem memory.Size `help:"maximum buffer memory (in bytes) to be allocated for read buffers" default:"4M"`
|
||||
}
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -13,7 +13,7 @@
|
||||
# the minimum duration for downloading a share from storage nodes before timing out
|
||||
# audit.min-download-timeout: 5s
|
||||
|
||||
# how frequently checker should audit segments
|
||||
# how frequently checker should check for bad segments
|
||||
# checker.interval: 30s
|
||||
|
||||
# how frequently irrepairable checker should check for lost pieces
|
||||
@ -205,7 +205,7 @@ kademlia.operator.wallet: ""
|
||||
# a node's ratio of being up/online vs. down/offline
|
||||
# overlay.node.uptime-ratio: 0.9
|
||||
|
||||
# how frequently checker should audit segments
|
||||
# how frequently repairer should try and repair more data
|
||||
# repairer.interval: 1h0m0s
|
||||
|
||||
# maximum buffer memory (in bytes) to be allocated for read buffers
|
||||
|
Loading…
Reference in New Issue
Block a user