satellite/payments/accountfreeze: Increase exclusion threshold

Account freeze excludes accounts who have invoices which are unpaid and
are above a configured value. This change updates that configured value
from $100 to $1000.

Change-Id: Iff381deeb73ef2d8fccaf7a1612a33e8aeb08698
This commit is contained in:
Moby von Briesen 2023-10-05 17:01:52 -04:00 committed by Storj Robot
parent 3ca626a878
commit 3216674c19
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,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:"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:"100000"`
ExcludeStorjscan bool `help:"whether to exclude storjscan-paying users from automatic warn/freeze" default:"false"`
}

View File

@ -11,7 +11,7 @@
# account-freeze.interval: 24h0m0s
# The failed invoice amount (in cents) beyond which an account will not be frozen
# account-freeze.price-threshold: 10000
# account-freeze.price-threshold: 100000
# admin peer http listening address
# admin.address: ""