mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-18 13:08:24 +02:00
feat: Make INTERNAL a retryable error for Pull
PiperOrigin-RevId: 510255779
This commit is contained in:
parent
7427d37520
commit
58e4422ffd
1 changed files with 21 additions and 4 deletions
|
|
@ -120,6 +120,27 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": [
|
||||
{
|
||||
"service": "google.pubsub.v1.Subscriber",
|
||||
"method": "Pull"
|
||||
}
|
||||
],
|
||||
"timeout": "60s",
|
||||
"retryPolicy": {
|
||||
"maxAttempts": 5,
|
||||
"initialBackoff": "0.100s",
|
||||
"maxBackoff": "60s",
|
||||
"backoffMultiplier": 1.3,
|
||||
"retryableStatusCodes": [
|
||||
"UNKNOWN",
|
||||
"ABORTED",
|
||||
"UNAVAILABLE",
|
||||
"INTERNAL"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": [
|
||||
{
|
||||
|
|
@ -146,10 +167,6 @@
|
|||
"service": "google.pubsub.v1.Subscriber",
|
||||
"method": "Seek"
|
||||
},
|
||||
{
|
||||
"service": "google.pubsub.v1.Subscriber",
|
||||
"method": "Pull"
|
||||
},
|
||||
{
|
||||
"service": "google.pubsub.v1.Subscriber",
|
||||
"method": "GetIamPolicy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue