mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-14 12:42:59 +02:00
fix: additional error codes added to service configuration for retry
PiperOrigin-RevId: 471585446
This commit is contained in:
parent
42c571c1aa
commit
e1b54cd793
1 changed files with 8 additions and 6 deletions
|
|
@ -22,7 +22,6 @@
|
|||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "DeleteApi"
|
||||
},
|
||||
|
||||
{
|
||||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "ListApiVersions"
|
||||
|
|
@ -81,7 +80,6 @@
|
|||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "DeleteApiSpecRevision"
|
||||
},
|
||||
|
||||
{
|
||||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "ListApiDeployments"
|
||||
|
|
@ -102,7 +100,6 @@
|
|||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "DeleteApiDeployment"
|
||||
},
|
||||
|
||||
{
|
||||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "TagApiDeploymentRevision"
|
||||
|
|
@ -115,7 +112,6 @@
|
|||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "DeleteApiDeploymentRevision"
|
||||
},
|
||||
|
||||
{
|
||||
"service": "google.cloud.apigeeregistry.v1.Registry",
|
||||
"method": "ListArtifacts"
|
||||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue