We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e170e4 commit 7952e92Copy full SHA for 7952e92
services/authz/server/server.go
@@ -49,6 +49,7 @@ const (
49
serviceNameOPA = "opa"
50
serviceNameMFA = "mfa"
51
serviceNameInventory = "inventory"
52
+ minRetryAttempts = 0
53
statusError = "error"
54
statusInvalid = "invalid"
55
zeroTrustScore = 0
@@ -144,7 +145,7 @@ func New(cfg Config) (*Server, error) {
144
145
Multiplier: defaultRetryMultiplier,
146
MaxInterval: defaultMaxInterval,
147
}
- if cfg.RetryMaxAttempts > 0 {
148
+ if cfg.RetryMaxAttempts > minRetryAttempts {
149
retryCfg.MaxAttempts = cfg.RetryMaxAttempts
150
151
0 commit comments