Skip to content

bigquery: job.wait inner backoff configuration is to slow #10555

@idan3

Description

@idan3

I'm using job.wait to determine when the job is complete. The internal configuration for the job.wait function is located within waitForQuery and is as follows:

backoff := gax.Backoff{
		Initial:    1 * time.Second,
		Multiplier: 2,
		Max:        60 * time.Second,
	}

It is a significant problem because the initial delay of 1 second is too slow when performing a large number of queries at a high rate. Can you please fix this or provide an option to modify this configuration?

Something like :

backoff := gax.Backoff{
		Initial:    80 * time.Millisecond,
		Multiplier: 1.1,
		Max:        60 * time.Second,
	}

Metadata

Metadata

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.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