satellite/accountfreeze: change price threshold default
The default price threshold has been changed to 10000 cents. The help text has also been modified to clarify that this value is in cents. Change-Id: I3b605056c860a3afef7202950180bc8b863fe16a
This commit is contained in:
parent
fd1a94a84d
commit
e750f6f145
@ -30,7 +30,7 @@ type Config struct {
|
||||
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"`
|
||||
GracePeriod time.Duration `help:"How long to wait between a warning event and freezing an account." default:"720h"`
|
||||
PriceThreshold int64 `help:"The failed invoice amount beyond which an account will not be frozen" default:"2000"`
|
||||
PriceThreshold int64 `help:"The failed invoice amount (in cents) beyond which an account will not be frozen" default:"10000"`
|
||||
}
|
||||
|
||||
// Chore is a chore that checks for unpaid invoices and potentially freezes corresponding accounts.
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -7,8 +7,8 @@
|
||||
# How often to run this chore, which is how often unpaid invoices are checked.
|
||||
# account-freeze.interval: 24h0m0s
|
||||
|
||||
# The failed invoice amount beyond which an account will not be frozen
|
||||
# account-freeze.price-threshold: 2000
|
||||
# The failed invoice amount (in cents) beyond which an account will not be frozen
|
||||
# account-freeze.price-threshold: 10000
|
||||
|
||||
# admin peer http listening address
|
||||
# admin.address: ""
|
||||
|
Loading…
Reference in New Issue
Block a user