googleapis / googleapis/google-cloud-node
Call options are not documented and non-obvious
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
On https://googleapis.dev/nodejs/tasks/latest/v2.CloudTasksClient.html#createTask, what are `options`?
Following the link to https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html is of no help either.
I'd like to know what they mean and what are the defaults.
It seems `timeout` is in milliseconds. I've seen this fail a few times so I am somewhat confident that this is what it is.
However, couple more things:
1. it seems to be a "connect" timeout not the timeout for the creating task operation. I've seen the operation succeed in tail-cases after 10 seconds when my time out is 100 milliseconds.
2. Not sure what `maxRetries` is -- changing it has any effect if `timeout` fails. I'd have thought it would retry the configured number of times.
Contributor guide
Assessment
This issue has not been assessed yet.