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:
Michał Niewrzał 2021-12-21 13:26:18 +01:00
parent a6139f5a6b
commit 87a9292127
2 changed files with 2 additions and 2 deletions

View File

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

View File

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