satellie/gc: enable garbage collection on the satellite (#2765)
This commit is contained in:
parent
32f95a14fd
commit
3e41767f22
@ -29,8 +29,8 @@ var (
|
||||
|
||||
// Config contains configurable values for garbage collection
|
||||
type Config struct {
|
||||
Interval time.Duration `help:"the time between each send of garbage collection filters to storage nodes" releaseDefault:"168h" devDefault:"10m"`
|
||||
Enabled bool `help:"set if garbage collection is enabled or not" releaseDefault:"false" devDefault:"true"`
|
||||
Interval time.Duration `help:"the time between each send of garbage collection filters to storage nodes" releaseDefault:"120h" devDefault:"10m"`
|
||||
Enabled bool `help:"set if garbage collection is enabled or not" releaseDefault:"true" devDefault:"true"`
|
||||
// value for InitialPieces currently based on average pieces per node
|
||||
InitialPieces int `help:"the initial number of pieces expected for a storage node to have, used for creating a filter" releaseDefault:"400000" devDefault:"10"`
|
||||
FalsePositiveRate float64 `help:"the false positive rate used for creating a garbage collection bloom filter" releaseDefault:"0.1" devDefault:"0.1"`
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -74,7 +74,7 @@
|
||||
# garbage-collection.concurrent-sends: 1
|
||||
|
||||
# set if garbage collection is enabled or not
|
||||
# garbage-collection.enabled: false
|
||||
# garbage-collection.enabled: true
|
||||
|
||||
# the false positive rate used for creating a garbage collection bloom filter
|
||||
# garbage-collection.false-positive-rate: 0.1
|
||||
@ -83,7 +83,7 @@
|
||||
# garbage-collection.initial-pieces: 400000
|
||||
|
||||
# the time between each send of garbage collection filters to storage nodes
|
||||
# garbage-collection.interval: 168h0m0s
|
||||
# garbage-collection.interval: 120h0m0s
|
||||
|
||||
# help for setup
|
||||
# help: false
|
||||
|
Loading…
Reference in New Issue
Block a user