Skip to content

Commit

Permalink
chore(pubsub): update client configurations (via synth) (#9784)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and tseaver committed Nov 13, 2019
1 parent fd93452 commit a294f71
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 5000,
"rpc_timeout_multiplier": 1.3,
"max_rpc_timeout_millis": 600000,
"total_timeout_millis": 600000,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 60000,
},
},
"methods": {
Expand All @@ -51,9 +51,9 @@
"retry_codes_name": "publish",
"retry_params_name": "messaging",
"bundling": {
"element_count_threshold": 10,
"element_count_threshold": 100,
"element_count_limit": 1000,
"request_byte_threshold": 1024,
"request_byte_threshold": 1048576,
"request_byte_limit": 10485760,
"delay_threshold_millis": 10,
},
Expand Down
10 changes: 8 additions & 2 deletions pubsub/google/cloud/pubsub_v1/gapic/subscriber_client_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
"retry_codes": {
"idempotent": ["ABORTED", "UNAVAILABLE", "UNKNOWN"],
"non_idempotent": ["UNAVAILABLE"],
"none": [],
"streaming_pull": [
"ABORTED",
"DEADLINE_EXCEEDED",
"INTERNAL",
"RESOURCE_EXHAUSTED",
"UNAVAILABLE",
],
},
"retry_params": {
"default": {
Expand Down Expand Up @@ -78,7 +84,7 @@
},
"StreamingPull": {
"timeout_millis": 900000,
"retry_codes_name": "none",
"retry_codes_name": "streaming_pull",
"retry_params_name": "streaming_messaging",
},
"ModifyPushConfig": {
Expand Down
6 changes: 3 additions & 3 deletions pubsub/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2019-11-12T13:34:45.693013Z",
"updateTime": "2019-11-13T13:23:51.614817Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "f69562be0608904932bdcfbc5ad8b9a22d9dceb8",
"internalRef": "279774957"
"sha": "88bbf96b90089994ed16208a0f38cdd07f743742",
"internalRef": "280134477"
}
},
{
Expand Down

0 comments on commit a294f71

Please sign in to comment.