Skip to content

Commit a294f71

Browse files
yoshi-automationtseaver
authored andcommitted
chore(pubsub): update client configurations (via synth) (#9784)
1 parent fd93452 commit a294f71

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

pubsub/google/cloud/pubsub_v1/gapic/publisher_client_config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"max_retry_delay_millis": 60000,
3232
"initial_rpc_timeout_millis": 5000,
3333
"rpc_timeout_multiplier": 1.3,
34-
"max_rpc_timeout_millis": 600000,
35-
"total_timeout_millis": 600000,
34+
"max_rpc_timeout_millis": 60000,
35+
"total_timeout_millis": 60000,
3636
},
3737
},
3838
"methods": {
@@ -51,9 +51,9 @@
5151
"retry_codes_name": "publish",
5252
"retry_params_name": "messaging",
5353
"bundling": {
54-
"element_count_threshold": 10,
54+
"element_count_threshold": 100,
5555
"element_count_limit": 1000,
56-
"request_byte_threshold": 1024,
56+
"request_byte_threshold": 1048576,
5757
"request_byte_limit": 10485760,
5858
"delay_threshold_millis": 10,
5959
},

pubsub/google/cloud/pubsub_v1/gapic/subscriber_client_config.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
"retry_codes": {
55
"idempotent": ["ABORTED", "UNAVAILABLE", "UNKNOWN"],
66
"non_idempotent": ["UNAVAILABLE"],
7-
"none": [],
7+
"streaming_pull": [
8+
"ABORTED",
9+
"DEADLINE_EXCEEDED",
10+
"INTERNAL",
11+
"RESOURCE_EXHAUSTED",
12+
"UNAVAILABLE",
13+
],
814
},
915
"retry_params": {
1016
"default": {
@@ -78,7 +84,7 @@
7884
},
7985
"StreamingPull": {
8086
"timeout_millis": 900000,
81-
"retry_codes_name": "none",
87+
"retry_codes_name": "streaming_pull",
8288
"retry_params_name": "streaming_messaging",
8389
},
8490
"ModifyPushConfig": {

pubsub/synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-11-12T13:34:45.693013Z",
2+
"updateTime": "2019-11-13T13:23:51.614817Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "f69562be0608904932bdcfbc5ad8b9a22d9dceb8",
16-
"internalRef": "279774957"
15+
"sha": "88bbf96b90089994ed16208a0f38cdd07f743742",
16+
"internalRef": "280134477"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)