nodejs-common
nodejs-common copied to clipboard
Service request timeout is overwritten at call time
Ref: https://github.com/urjitbhatia/nodejs-common/pull/1
-
Is this a client library issue or a product issue? a library issue
-
Did someone already solve this? no
-
Do you have a support contract? no
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
- OS: Ubuntu
- Node.js version: 18
- npm version: (Yarn 1.22.4)
-
@google-cloud/common
version: v4.0.3
Steps to reproduce
Note: This surfaces while using the google translate client: https://github.com/googleapis/gax-nodejs/issues/1410
- Create a translate client.
- Set a request timeout
- Point request to a dummy server that takes long or set a really small timeout to test
- Request continues beyond the timeout and doesn't abort
Thanks!