feat: Make INTERNAL a retryable error for Pull

PiperOrigin-RevId: 510255779
This commit is contained in:
Google APIs 2023-02-16 15:10:13 -08:00 committed by Copybara-Service
parent 7427d37520
commit 58e4422ffd

View file

@ -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"