parent
32e0227c45
commit
0e463dccfd
@ -133,7 +133,6 @@ func (planet *Planet) newSatellites(count int) ([]*satellite.Peer, error) {
|
||||
MinRemoteSegmentSize: 0, // TODO: fix tests to work with 1024
|
||||
MaxInlineSegmentSize: 8000,
|
||||
Overlay: true,
|
||||
BwExpiration: 45,
|
||||
RS: metainfo.RSConfig{
|
||||
MaxSegmentSize: 64 * memory.MiB,
|
||||
MaxBufferMem: memory.Size(256),
|
||||
@ -146,7 +145,7 @@ func (planet *Planet) newSatellites(count int) ([]*satellite.Peer, error) {
|
||||
},
|
||||
},
|
||||
Orders: orders.Config{
|
||||
Expiration: 45 * 24 * time.Hour,
|
||||
Expiration: 7 * 24 * time.Hour,
|
||||
},
|
||||
Checker: checker.Config{
|
||||
Interval: 30 * time.Second,
|
||||
|
@ -37,7 +37,6 @@ type Config struct {
|
||||
MinRemoteSegmentSize memory.Size `default:"1240" help:"minimum remote segment size"`
|
||||
MaxInlineSegmentSize memory.Size `default:"8000" help:"maximum inline segment size"`
|
||||
Overlay bool `default:"true" help:"toggle flag if overlay is enabled"`
|
||||
BwExpiration int `default:"45" help:"lifespan of bandwidth agreements in days"`
|
||||
RS RSConfig `help:"redundancy scheme configuration"`
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
|
||||
// Config is a configuration struct for orders Service.
|
||||
type Config struct {
|
||||
Expiration time.Duration `help:"how long until an order expires" default:"1080h"`
|
||||
Expiration time.Duration `help:"how long until an order expires" default:"168h"` // 7 days
|
||||
}
|
||||
|
||||
// Service for creating order limits.
|
||||
|
5
scripts/testdata/satellite-config.yaml.lock
vendored
5
scripts/testdata/satellite-config.yaml.lock
vendored
@ -166,9 +166,6 @@ kademlia.operator.wallet: ""
|
||||
# path to static resources
|
||||
# marketing.static-dir: ""
|
||||
|
||||
# lifespan of bandwidth agreements in days
|
||||
# metainfo.bw-expiration: 45
|
||||
|
||||
# the database connection string to use
|
||||
# metainfo.database-url: "postgres://"
|
||||
|
||||
@ -224,7 +221,7 @@ kademlia.operator.wallet: ""
|
||||
# monkit.hw.oomlog: "/var/log/kern.log"
|
||||
|
||||
# how long until an order expires
|
||||
# orders.expiration: 1080h0m0s
|
||||
# orders.expiration: 168h0m0s
|
||||
|
||||
# the number of times a node has been audited to not be considered a New Node
|
||||
# overlay.node.audit-count: 100
|
||||
|
Loading…
Reference in New Issue
Block a user