satellite/metainfo/zombiedeletion: enable chore by default
We enabled this chore on different satellites for testing. Works fine so we can enable this by default for all configurations. Change-Id: I987639685d8de5c7e5798adca30fe26bdac9e1d1
This commit is contained in:
parent
a6139f5a6b
commit
87a9292127
@ -24,7 +24,7 @@ var (
|
||||
// Config contains configurable values for zombie object cleanup.
|
||||
type Config struct {
|
||||
Interval time.Duration `help:"the time between each attempt to go through the db and clean up zombie objects" releaseDefault:"12h" devDefault:"10s"`
|
||||
Enabled bool `help:"set if zombie object cleanup is enabled or not" releaseDefault:"false" devDefault:"true"`
|
||||
Enabled bool `help:"set if zombie object cleanup is enabled or not" default:"true"`
|
||||
ListLimit int `help:"how many objects to query in a batch" default:"100"`
|
||||
InactiveFor time.Duration `help:"after what time object will be deleted if there where no new upload activity" default:"24h"`
|
||||
}
|
||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -836,7 +836,7 @@ server.private-address: 127.0.0.1:7778
|
||||
# version.server-address: https://version.storj.io
|
||||
|
||||
# set if zombie object cleanup is enabled or not
|
||||
# zombie-deletion.enabled: false
|
||||
# zombie-deletion.enabled: true
|
||||
|
||||
# after what time object will be deleted if there where no new upload activity
|
||||
# zombie-deletion.inactive-for: 24h0m0s
|
||||
|
Loading…
Reference in New Issue
Block a user