Skip to content

Commit

Permalink
satellite/orders: decrease order expiration time to 24hours
Browse files Browse the repository at this point in the history
Closes #5202

Change-Id: I55d1a84c46dd610eeb00dd79df8f4f7e699499a0
  • Loading branch information
profclems committed Nov 21, 2022
1 parent 6c7f412 commit 3378215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion satellite/orders/service.go
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion scripts/testdata/satellite-config.yaml.lock
Expand Up @@ -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
Expand Down

0 comments on commit 3378215

Please sign in to comment.