Skip to content

Commit b380d69

Browse files
yoshi-automationbusunkim96
authored andcommitted
Remove retries for DEADLINE_EXCEEDED (via synth). (googleapis#7890)
1 parent cf00ff4 commit b380d69

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

speech/google/cloud/speech_v1/gapic/speech_client_config.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
config = {
22
"interfaces": {
33
"google.cloud.speech.v1.Speech": {
4-
"retry_codes": {
5-
"idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
6-
"non_idempotent": [],
7-
},
4+
"retry_codes": {"idempotent": ["UNAVAILABLE"], "non_idempotent": []},
85
"retry_params": {
96
"default": {
107
"initial_retry_delay_millis": 100,

speech/google/cloud/speech_v1p1beta1/gapic/speech_client_config.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
config = {
22
"interfaces": {
33
"google.cloud.speech.v1p1beta1.Speech": {
4-
"retry_codes": {
5-
"idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
6-
"non_idempotent": [],
7-
},
4+
"retry_codes": {"idempotent": ["UNAVAILABLE"], "non_idempotent": []},
85
"retry_params": {
96
"default": {
107
"initial_retry_delay_millis": 100,

speech/synth.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"updateTime": "2019-05-01T12:14:39.177368Z",
2+
"updateTime": "2019-05-08T12:25:33.092321Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.17.1",
8-
"dockerImage": "googleapis/artman@sha256:a40ca4dd4ef031c0ded4df4909ffdf7b3f20d29b23e682ef991eb60ba0ca6025"
7+
"version": "0.19.0",
8+
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "316b54c401ab9bc08ed71cb362915b9e7a23bb05",
16-
"internalRef": "246014263"
15+
"sha": "51145ff7812d2bb44c1219d0b76dac92a8bd94b2",
16+
"internalRef": "247143125"
1717
}
1818
},
1919
{
2020
"template": {
2121
"name": "python_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.4.10"
23+
"version": "2019.5.2"
2424
}
2525
}
2626
],

0 commit comments

Comments
 (0)