Skip to content

Commit a13358d

Browse files
---
yaml --- r: 22909 b: refs/heads/autosynth-bigquerystorage c: d2c53da h: refs/heads/master i: 22907: b175f42
1 parent 4c15357 commit a13358d

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ refs/tags/v0.69.0: 78f67a29e8b9c46ba01de566a2eae0fd1c03edea
123123
refs/heads/autosynth-asset: 7d535c3023644faa89492d4a553d8c403e073fa7
124124
refs/heads/autosynth-automl: 7fcabb1e54ca9ded6bec10f41590d29ece3a6367
125125
refs/heads/autosynth-bigquerydatatransfer: d88aa5aae5fd9d3c6d75bbab1a05162c6d4d948f
126-
refs/heads/autosynth-bigquerystorage: c125436358fe3e278aa4c552829a2045cc4dccc3
126+
refs/heads/autosynth-bigquerystorage: d2c53da3b012e38c662e4df0738042435f19365f
127127
refs/heads/autosynth-bigtable: 45891a7178142c84a16d6a0b792f8ecb950a3159
128128
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
129129
refs/heads/autosynth-containeranalysis: 0f377286f60df2b6fd37c183bf170c68dc014cfb

branches/autosynth-bigquerystorage/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,17 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
246246
.setTotalTimeout(Duration.ofMillis(600000L))
247247
.build();
248248
definitions.put("default", settings);
249+
settings =
250+
RetrySettings.newBuilder()
251+
.setInitialRetryDelay(Duration.ofMillis(100L))
252+
.setRetryDelayMultiplier(1.3)
253+
.setMaxRetryDelay(Duration.ofMillis(60000L))
254+
.setInitialRpcTimeout(Duration.ofMillis(120000L))
255+
.setRpcTimeoutMultiplier(1.0)
256+
.setMaxRpcTimeout(Duration.ofMillis(120000L))
257+
.setTotalTimeout(Duration.ofMillis(600000L))
258+
.build();
259+
definitions.put("create_read_session", settings);
249260
RETRY_PARAM_DEFINITIONS = definitions.build();
250261
}
251262

@@ -290,7 +301,7 @@ private static Builder initDefaults(Builder builder) {
290301
builder
291302
.createReadSessionSettings()
292303
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
293-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
304+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("create_read_session"));
294305

295306
builder
296307
.readRowsSettings()

branches/autosynth-bigquerystorage/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-04-02T07:35:11.912831Z",
2+
"updateTime": "2019-04-04T07:35:31.563852Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.22",
8-
"dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
7+
"version": "0.16.23",
8+
"dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
16-
"internalRef": "241437588"
15+
"sha": "04193ea2f8121388c998ab49c382f2c03417dcce",
16+
"internalRef": "241828309"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)