Skip to content

Commit dc4e6ce

Browse files
Update timeouts (#18)
* regenerating v1 code - timeouts increased * regenerate scaffolding, bump patch version * bump version for samples package
1 parent b53e061 commit dc4e6ce

File tree

13 files changed

+26
-23
lines changed

13 files changed

+26
-23
lines changed

packages/google-cloud-speech/.mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Jun Mukai <[email protected]> Jun Mukai <[email protected]>
77
Luke Sneeringer <[email protected]> Luke Sneeringer <[email protected]>
88
Puneith Kaul <[email protected]> puneith <[email protected]>
99
Stephen Sawchuk <[email protected]> Stephen Sawchuk <[email protected]>
10+
Alexander Fenster <[email protected]> Alexander Fenster <[email protected]>

packages/google-cloud-speech/CONTRIBUTORS

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# name <email>
55
#
66
Ace Nassri <[email protected]>
7+
Alexander Fenster <[email protected]>
78
Ali Ijaz Sheikh <[email protected]>
89
Dan Aharon <[email protected]>
910
Daryush Laqab <[email protected]>

packages/google-cloud-speech/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@google-cloud/speech",
33
"description": "Cloud Speech Client Library for Node.js",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"license": "Apache-2.0",
66
"author": "Google Inc.",
77
"engines": {
@@ -30,6 +30,7 @@
3030
],
3131
"contributors": [
3232
"Ace Nassri <[email protected]>",
33+
"Alexander Fenster <[email protected]>",
3334
"Ali Ijaz Sheikh <[email protected]>",
3435
"Dan Aharon <[email protected]>",
3536
"Daryush Laqab <[email protected]>",

packages/google-cloud-speech/samples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js"
1313
},
1414
"dependencies": {
15-
"@google-cloud/speech": "1.0.0",
15+
"@google-cloud/speech": "1.0.1",
1616
"@google-cloud/storage": "1.4.0",
1717
"node-record-lpcm16": "0.3.0",
1818
"yargs": "10.0.3"

packages/google-cloud-speech/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/doc/google/cloud/speech/v1/doc_cloud_speech.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_any.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/doc/google/protobuf/doc_duration.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/doc/google/rpc/doc_status.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/speech_client.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

packages/google-cloud-speech/src/v1/speech_client_config.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"initial_retry_delay_millis": 100,
1414
"retry_delay_multiplier": 1.3,
1515
"max_retry_delay_millis": 60000,
16-
"initial_rpc_timeout_millis": 190000,
16+
"initial_rpc_timeout_millis": 1000000,
1717
"rpc_timeout_multiplier": 1.0,
18-
"max_rpc_timeout_millis": 190000,
19-
"total_timeout_millis": 600000
18+
"max_rpc_timeout_millis": 1000000,
19+
"total_timeout_millis": 5000000
2020
}
2121
},
2222
"methods": {
2323
"Recognize": {
24-
"timeout_millis": 190000,
24+
"timeout_millis": 1000000,
2525
"retry_codes_name": "idempotent",
2626
"retry_params_name": "default"
2727
},
@@ -31,7 +31,7 @@
3131
"retry_params_name": "default"
3232
},
3333
"StreamingRecognize": {
34-
"timeout_millis": 600000,
34+
"timeout_millis": 1000000,
3535
"retry_codes_name": "idempotent",
3636
"retry_params_name": "default"
3737
}

packages/google-cloud-speech/system-test/speech_smoke_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Copyright 2017, Google LLC All rights reserved.
1+
// Copyright 2018 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)