Skip to content

Commit

Permalink
feat: Tune Secret Manager auto retry parameters
Browse files Browse the repository at this point in the history
UNKNOWN removed from retryable errors per AIP-194. Added RESOURCE_EXHAUSTED with adjusted parameters for better performance with spikes of AccessSecretVersion requests at or near quota limits.

PiperOrigin-RevId: 383886699
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 9, 2021
1 parent e2b7a98 commit 1eade81
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -70,12 +70,13 @@
],
"timeout": "60s",
"retryPolicy": {
"initialBackoff": "1s",
"maxAttempts": 5,
"initialBackoff": "2s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"backoffMultiplier": 2.0,
"retryableStatusCodes": [
"UNAVAILABLE",
"UNKNOWN"
"RESOURCE_EXHAUSTED"
]
}
}
Expand Down

0 comments on commit 1eade81

Please sign in to comment.