googleapis / nodejs-common

🚀🐢 A set of classes and utilities used in Google npm modules.
Apache License 2.0
58 stars 35 forks source link

Service request timeout is overwritten at call time #772

Open urjitbhatia opened 1 year ago

urjitbhatia commented 1 year ago

Ref: https://github.com/urjitbhatia/nodejs-common/pull/1

1) Is this a client library issue or a product issue? a library issue

2) Did someone already solve this? no

3) 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

Steps to reproduce

Note: This surfaces while using the google translate client: https://github.com/googleapis/gax-nodejs/issues/1410

  1. Create a translate client.
  2. Set a request timeout
  3. Point request to a dummy server that takes long or set a really small timeout to test
  4. Request continues beyond the timeout and doesn't abort

Thanks!