satellite/payments/accountfreeze: set grace period default to 15 days
Change-Id: Ied8f3758b579b83ebf04cba0fde9715c689bac4f
This commit is contained in:
parent
0ad544731d
commit
f4297e42d0
@ -29,7 +29,7 @@ var (
|
|||||||
type Config struct {
|
type Config struct {
|
||||||
Enabled bool `help:"whether to run this chore." default:"false"`
|
Enabled bool `help:"whether to run this chore." default:"false"`
|
||||||
Interval time.Duration `help:"How often to run this chore, which is how often unpaid invoices are checked." default:"24h"`
|
Interval time.Duration `help:"How often to run this chore, which is how often unpaid invoices are checked." default:"24h"`
|
||||||
GracePeriod time.Duration `help:"How long to wait between a warning event and freezing an account." default:"720h"`
|
GracePeriod time.Duration `help:"How long to wait between a warning event and freezing an account." default:"360h"`
|
||||||
PriceThreshold int64 `help:"The failed invoice amount (in cents) beyond which an account will not be frozen" default:"10000"`
|
PriceThreshold int64 `help:"The failed invoice amount (in cents) beyond which an account will not be frozen" default:"10000"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -2,7 +2,7 @@
|
|||||||
# account-freeze.enabled: false
|
# account-freeze.enabled: false
|
||||||
|
|
||||||
# How long to wait between a warning event and freezing an account.
|
# How long to wait between a warning event and freezing an account.
|
||||||
# account-freeze.grace-period: 720h0m0s
|
# account-freeze.grace-period: 360h0m0s
|
||||||
|
|
||||||
# How often to run this chore, which is how often unpaid invoices are checked.
|
# How often to run this chore, which is how often unpaid invoices are checked.
|
||||||
# account-freeze.interval: 24h0m0s
|
# account-freeze.interval: 24h0m0s
|
||||||
|
Loading…
Reference in New Issue
Block a user