nodejs-common icon indicating copy to clipboard operation
nodejs-common copied to clipboard

Service request timeout is overwritten at call time

Open urjitbhatia opened this issue 1 year ago • 0 comments

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

  • 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

  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!

urjitbhatia avatar Jun 06 '23 17:06 urjitbhatia