satellite/orders: decrease order expiration time to 24hours

Closes https://github.com/storj/storj/issues/5202

Change-Id: I55d1a84c46dd610eeb00dd79df8f4f7e699499a0
This commit is contained in:
Clement Sam 2022-11-17 09:00:52 +00:00
parent 6c7f412124
commit 3378215adf
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ var (
// Config is a configuration struct for orders Service.
type Config struct {
EncryptionKeys EncryptionKeys `help:"encryption keys to encrypt info in orders" default:""`
Expiration time.Duration `help:"how long until an order expires" default:"48h" testDefault:"168h"` // default is 2 days
Expiration time.Duration `help:"how long until an order expires" default:"24h" testDefault:"168h"` // default is 1 day
FlushBatchSize int `help:"how many items in the rollups write cache before they are flushed to the database" devDefault:"20" releaseDefault:"1000" testDefault:"10"`
FlushInterval time.Duration `help:"how often to flush the rollups write cache to the database" devDefault:"30s" releaseDefault:"1m" testDefault:"$TESTINTERVAL"`
NodeStatusLogging bool `hidden:"true" help:"deprecated, log the offline/disqualification status of nodes" default:"false" testDefault:"true"`

View File

@ -692,7 +692,7 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
# orders.encryption-keys: ""
# how long until an order expires
# orders.expiration: 48h0m0s
# orders.expiration: 24h0m0s
# how many items in the rollups write cache before they are flushed to the database
# orders.flush-batch-size: 1000