Skip to content

Commit

Permalink
fix: Make retry policy back off more aggressively for RPCs that retry…
Browse files Browse the repository at this point in the history
… RESOURCE_EXHAUSTD (#1806)

* fix: Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD

PiperOrigin-RevId: 557935020

Source-Link: googleapis/googleapis@38e1f31

Source-Link: googleapis/googleapis-gen@5bbe39d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWJiZTM5ZDM3MjE4YTQyMGIyMzY4YzM3NTQxZGU1ODg3ZGI3ZDZhZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 24, 2023
1 parent 1ed45ff commit e9969ba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion src/v1/publisher_client_config.json
Expand Up @@ -34,6 +34,15 @@
"rpc_timeout_multiplier": 1,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 600000
},
"693222d32e887d96c8faeadca469f7763ccda85a": {
"initial_retry_delay_millis": 100,
"retry_delay_multiplier": 4,
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 60000,
"rpc_timeout_multiplier": 1,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 600000
}
},
"methods": {
Expand All @@ -50,7 +59,7 @@
"Publish": {
"timeout_millis": 60000,
"retry_codes_name": "cancelled_unknown_deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
"retry_params_name": "default",
"retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a",
"bundling": {
"element_count_threshold": 100,
"request_byte_threshold": 1048576,
Expand Down
11 changes: 10 additions & 1 deletion src/v1/subscriber_client_config.json
Expand Up @@ -38,6 +38,15 @@
"rpc_timeout_multiplier": 1,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 600000
},
"693222d32e887d96c8faeadca469f7763ccda85a": {
"initial_retry_delay_millis": 100,
"retry_delay_multiplier": 4,
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 60000,
"rpc_timeout_multiplier": 1,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 600000
}
},
"methods": {
Expand Down Expand Up @@ -84,7 +93,7 @@
"StreamingPull": {
"timeout_millis": 900000,
"retry_codes_name": "deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
"retry_params_name": "default"
"retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a"
},
"ModifyPushConfig": {
"timeout_millis": 60000,
Expand Down

0 comments on commit e9969ba

Please sign in to comment.