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 <mukai@google.com> Jun Mukai <jun.mukai@gmail.com>
Luke Sneeringer <lukesneeringer@google.com> Luke Sneeringer <luke@sneeringer.com>
Puneith Kaul <puneith@google.com> puneith <puneith@users.noreply.github.com>
Stephen Sawchuk <sawchuk@gmail.com> Stephen Sawchuk <stephenplusplus@users.noreply.github.com>
Alexander Fenster <fenster@google.com> Alexander Fenster <github@fenster.name>
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 <anassri@google.com>
Alexander Fenster <fenster@google.com>
Ali Ijaz Sheikh <ofrobots@google.com>
Dan Aharon <daharon@google.com>
Daryush Laqab <dalaqab@google.com>
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 <anassri@google.com>",
"Alexander Fenster <fenster@google.com>",
"Ali Ijaz Sheikh <ofrobots@google.com>",
"Dan Aharon <daharon@google.com>",
"Daryush Laqab <dalaqab@google.com>",
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.