Skip to content

Commit

Permalink
Update timeouts (#18)
Browse files Browse the repository at this point in the history
* regenerating v1 code - timeouts increased

* regenerate scaffolding, bump patch version

* bump version for samples package
  • Loading branch information
alexander-fenster authored Jan 25, 2018
1 parent 6a22fc5 commit 8eb7ae1
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 23 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-node/.mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Jun Mukai <[email protected]> Jun Mukai <[email protected]>
Luke Sneeringer <[email protected]> Luke Sneeringer <[email protected]>
Puneith Kaul <[email protected]> puneith <[email protected]>
Stephen Sawchuk <[email protected]> Stephen Sawchuk <[email protected]>
Alexander Fenster <[email protected]> Alexander Fenster <[email protected]>
1 change: 1 addition & 0 deletions packages/google-cloud-node/CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# name <email>
#
Ace Nassri <[email protected]>
Alexander Fenster <[email protected]>
Ali Ijaz Sheikh <[email protected]>
Dan Aharon <[email protected]>
Daryush Laqab <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion packages/google-cloud-node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@google-cloud/speech",
"description": "Cloud Speech Client Library for Node.js",
"version": "1.0.0",
"version": "1.0.1",
"license": "Apache-2.0",
"author": "Google Inc.",
"engines": {
Expand Down Expand Up @@ -30,6 +30,7 @@
],
"contributors": [
"Ace Nassri <[email protected]>",
"Alexander Fenster <[email protected]>",
"Ali Ijaz Sheikh <[email protected]>",
"Dan Aharon <[email protected]>",
"Daryush Laqab <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-node/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js"
},
"dependencies": {
"@google-cloud/speech": "1.0.0",
"@google-cloud/speech": "1.0.1",
"@google-cloud/storage": "1.4.0",
"node-record-lpcm16": "0.3.0",
"yargs": "10.0.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-node/src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-node/src/v1/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-node/src/v1/speech_client.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-node/src/v1/speech_client_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"initial_retry_delay_millis": 100,
"retry_delay_multiplier": 1.3,
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 190000,
"initial_rpc_timeout_millis": 1000000,
"rpc_timeout_multiplier": 1.0,
"max_rpc_timeout_millis": 190000,
"total_timeout_millis": 600000
"max_rpc_timeout_millis": 1000000,
"total_timeout_millis": 5000000
}
},
"methods": {
"Recognize": {
"timeout_millis": 190000,
"timeout_millis": 1000000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
Expand All @@ -31,7 +31,7 @@
"retry_params_name": "default"
},
"StreamingRecognize": {
"timeout_millis": 600000,
"timeout_millis": 1000000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-node/system-test/speech_smoke_test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2017, Google LLC All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit 8eb7ae1

Please sign in to comment.