Skip to content

Commit

Permalink
fix: additional error codes added to service configuration for retry
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 471585446
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 1, 2022
1 parent 42c571c commit e1b54cd
Showing 1 changed file with 8 additions and 6 deletions.
Expand Up @@ -22,7 +22,6 @@
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "DeleteApi"
},

{
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "ListApiVersions"
Expand Down Expand Up @@ -81,7 +80,6 @@
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "DeleteApiSpecRevision"
},

{
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "ListApiDeployments"
Expand All @@ -102,7 +100,6 @@
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "DeleteApiDeployment"
},

{
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "TagApiDeploymentRevision"
Expand All @@ -115,7 +112,6 @@
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "DeleteApiDeploymentRevision"
},

{
"service": "google.cloud.apigeeregistry.v1.Registry",
"method": "ListArtifacts"
Expand Down Expand Up @@ -143,10 +139,16 @@
],
"timeout": "60s",
"retryPolicy": {
"initialBackoff": "1s",
"maxAttempts": 5,
"initialBackoff": "0.200s",
"maxBackoff": "60s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": ["UNAVAILABLE"]
"retryableStatusCodes": [
"ABORTED",
"CANCELLED",
"DEADLINE_EXCEEDED",
"UNAVAILABLE"
]
}
},
{
Expand Down

0 comments on commit e1b54cd

Please sign in to comment.