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:
parent
3ca626a878
commit
3216674c19
@ -32,7 +32,7 @@ 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:"360h"`
|
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"`
|
ExcludeStorjscan bool `help:"whether to exclude storjscan-paying users from automatic warn/freeze" default:"false"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -11,7 +11,7 @@
|
|||||||
# account-freeze.interval: 24h0m0s
|
# account-freeze.interval: 24h0m0s
|
||||||
|
|
||||||
# The failed invoice amount (in cents) beyond which an account will not be frozen
|
# 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 peer http listening address
|
||||||
# admin.address: ""
|
# admin.address: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user