satellite/payments/accountfreeze: set grace period default to 15 days

Change-Id: Ied8f3758b579b83ebf04cba0fde9715c689bac4f
This commit is contained in:
Cameron 2023-06-22 10:35:07 -04:00 committed by Storj Robot
parent 1166fdfbab
commit 37e7eeb0e9
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ var (
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"`
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"`
}

View File

@ -2,7 +2,7 @@
# account-freeze.enabled: false
# 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.
# account-freeze.interval: 24h0m0s