Skip to content

timeout_millis is ignored if retry settings are provided #390

@skuruppu

Description

@skuruppu

The Spanner team has recently been through an effort to make the timeout and retry settings consistent across all client library languages. The result of which is now in spanner_client_config.json.

We need to set different timeout_millis for each RPC method. But we also set specific retry settings for certain groups of methods.

We found that in gax-nodejs, if retry settings are set, then timeout_millis is ignored.

This essentially means that all of our methods have a timeout_millis of 60 secs now instead of the method-specific ones we intended to set.

Would this be something that can be fixed in Node.js to respected the per-method timeout_millis?

CC @hengfengli

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions