Add a 5x exponential backoff on 429s & 5xxs to the webhook Authenticator/Authorizer.
This commit is contained in:
@@ -148,7 +148,7 @@ func newTokenAuthenticator(serverURL string, clientCert, clientKey, ca []byte, c
|
||||
if err := json.NewEncoder(tempfile).Encode(config); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return New(p, cacheTime)
|
||||
return newWithBackoff(p, cacheTime, 0)
|
||||
}
|
||||
|
||||
func TestTLSConfig(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user