Skip to content

Call options are not documented and non-obvious #416

@jayp

Description

@jayp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: cloudtasksIssues related to the Cloud Tasks API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions