satellite/orders: decrease order expiration time to 24hours
Closes https://github.com/storj/storj/issues/5202 Change-Id: I55d1a84c46dd610eeb00dd79df8f4f7e699499a0
This commit is contained in:
parent
6c7f412124
commit
3378215adf
@ -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"`
|
||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user