Skip to content

Commit 9ea3018

Browse files
yoshi-automationtswast
authored andcommitted
Add retry params for create_read_session (via synth). (#7658)
1 parent 13e6c49 commit 9ea3018

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

bigquery_storage/google/cloud/bigquery_storage_v1beta1/gapic/big_query_storage_client_config.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@
1414
"rpc_timeout_multiplier": 1.0,
1515
"max_rpc_timeout_millis": 20000,
1616
"total_timeout_millis": 600000,
17-
}
17+
},
18+
"create_read_session": {
19+
"initial_retry_delay_millis": 100,
20+
"retry_delay_multiplier": 1.3,
21+
"max_retry_delay_millis": 60000,
22+
"initial_rpc_timeout_millis": 120000,
23+
"rpc_timeout_multiplier": 1.0,
24+
"max_rpc_timeout_millis": 120000,
25+
"total_timeout_millis": 600000,
26+
},
1827
},
1928
"methods": {
2029
"CreateReadSession": {
2130
"timeout_millis": 60000,
2231
"retry_codes_name": "idempotent",
23-
"retry_params_name": "default",
32+
"retry_params_name": "create_read_session",
2433
},
2534
"ReadRows": {
2635
"timeout_millis": 86400000,

bigquery_storage/synth.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-03-27T17:44:10.575389Z",
2+
"updateTime": "2019-04-04T12:11:35.966640Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.19",
8-
"dockerImage": "googleapis/artman@sha256:70ba28fda87e032ae44e6df41b7fc342c1b0cce1ed90658c4890eb4f613038c2"
7+
"version": "0.16.23",
8+
"dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
14-
"remote": "git@github.com:googleapis/googleapis.git",
15-
"sha": "d4d57d766601105478c661132f2687e6984b92d5",
16-
"internalRef": "240469931"
14+
"remote": "https://github.com/googleapis/googleapis.git",
15+
"sha": "04193ea2f8121388c998ab49c382f2c03417dcce",
16+
"internalRef": "241828309"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)