Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

default (per API request) timeout of 5 minutes #889

Closed
Assignees
tswast
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
@tswast

Description

@tswast

Is your feature request related to a problem? Please describe.

Since we don't have a timeout by default on our HTTP calls, it's possible that they hang much longer than expected.

Describe the solution you'd like

Set a default timeout to 5 minutes.

As I found in#859, many of the backend BigQuery APIs have a deadline of 4 minutes. Giving ourselves 5 minutes per request should be enough time to account for any network latency and download time.

Describe alternatives you've considered

Status quo. -- This makes the time that a request can complete less predicable though.

Additional context

I recall we tried this once before, but reverted it due to too many flakey tests:googleapis/google-cloud-python#10219

That was with 60 seconds, whereas the backend deadline is 4 minutes, so perhaps it's not all too surprising that there were flakes?

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery 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


    [8]ページ先頭

    ©2009-2025 Movatter.jp