satellite/metainfo/expireddeletion: change chore interval to 24h

We want run deletion query more often to avoid long running DB operations.

Change-Id: I72c63bb8ec05cc3ab2e7ab63479ba6cdf830386a
This commit is contained in:
Michał Niewrzał 2021-04-27 10:31:05 +02:00 committed by Michal Niewrzal
parent 606a501441
commit 02460fcc4c
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ var (
// Config contains configurable values for expired segment cleanup.
type Config struct {
Interval time.Duration `help:"the time between each attempt to go through the db and clean up expired segments" releaseDefault:"120h" devDefault:"10s"`
Interval time.Duration `help:"the time between each attempt to go through the db and clean up expired segments" releaseDefault:"24h" devDefault:"10s"`
Enabled bool `help:"set if expired segment cleanup is enabled or not" releaseDefault:"true" devDefault:"true"`
ListLimit int `help:"how many expired objects to query in a batch" default:"100"`
}

View File

@ -218,7 +218,7 @@ contact.external-address: ""
# expired-deletion.enabled: true
# the time between each attempt to go through the db and clean up expired segments
# expired-deletion.interval: 120h0m0s
# expired-deletion.interval: 24h0m0s
# how many expired objects to query in a batch
# expired-deletion.list-limit: 100