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:
parent
606a501441
commit
02460fcc4c
@ -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"`
|
||||
}
|
||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user