repairer: fix config comments (#2105)

This commit is contained in:
JT Olio 2019-06-04 06:13:31 -06:00 committed by Stefan Benten
parent e2c5d75b4c
commit 3fe8343b6c
3 changed files with 4 additions and 4 deletions

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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