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:
Wilfred Asomani 2023-03-23 13:32:15 +00:00 committed by Storj Robot
parent fd1a94a84d
commit e750f6f145
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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: ""