satellite/gc/sender: adjust some defaults
Change-Id: I94f5a18bc2d4218e834259b2ba22f3578745c975
This commit is contained in:
parent
59034ca094
commit
65aa9c11bc
@ -33,11 +33,11 @@ var (
|
||||
|
||||
// Config contains configurable values for garbage collection.
|
||||
type Config struct {
|
||||
Interval time.Duration `help:"the time between each attempt to download and send garbage collection retain filters to storage nodes" releaseDefault:"48h" devDefault:"5m" testDefault:"$TESTINTERVAL"`
|
||||
Enabled bool `help:"set if loop to send garbage collection retain filters is enabled" default:"false" devDefault:"false"`
|
||||
Interval time.Duration `help:"the time between each attempt to download and send garbage collection retain filters to storage nodes" default:"1h" devDefault:"5m" testDefault:"$TESTINTERVAL"`
|
||||
Enabled bool `help:"set if loop to send garbage collection retain filters is enabled" default:"true" devDefault:"false"`
|
||||
|
||||
// We suspect this currently not to be the critical path w.r.t. garbage collection, so no paralellism is implemented.
|
||||
ConcurrentSends int `help:"the number of nodes to concurrently send garbage collection retain filters to" releaseDefault:"1" devDefault:"1"`
|
||||
ConcurrentSends int `help:"the number of nodes to concurrently send garbage collection retain filters to" default:"100" devDefault:"1"`
|
||||
RetainSendTimeout time.Duration `help:"the amount of time to allow a node to handle a retain request" default:"1m"`
|
||||
|
||||
AccessGrant string `help:"Access to download the bloom filters. Needs read and write permission."`
|
||||
|
6
scripts/testdata/satellite-config.yaml.lock
vendored
6
scripts/testdata/satellite-config.yaml.lock
vendored
@ -518,16 +518,16 @@ contact.external-address: ""
|
||||
# garbage-collection.bucket: ""
|
||||
|
||||
# the number of nodes to concurrently send garbage collection retain filters to
|
||||
# garbage-collection.concurrent-sends: 1
|
||||
# garbage-collection.concurrent-sends: 100
|
||||
|
||||
# set if loop to send garbage collection retain filters is enabled
|
||||
# garbage-collection.enabled: false
|
||||
# garbage-collection.enabled: true
|
||||
|
||||
# Expiration of newly created objects in the bucket. These objects are under the prefix error-[timestamp] and store error messages.
|
||||
# garbage-collection.expire-in: 336h0m0s
|
||||
|
||||
# the time between each attempt to download and send garbage collection retain filters to storage nodes
|
||||
# garbage-collection.interval: 48h0m0s
|
||||
# garbage-collection.interval: 1h0m0s
|
||||
|
||||
# the amount of time to allow a node to handle a retain request
|
||||
# garbage-collection.retain-send-timeout: 1m0s
|
||||
|
Loading…
Reference in New Issue
Block a user