GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — default (per API request) timeout of 5 minutes · Issue #889 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

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

Copy link
Copy link
Closed
#896
Closed
default (per API request) timeout of 5 minutes#889
#896
Copy link
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.

Description

@tswast
tswast
opened on Aug 20, 2021
Issue body actions

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?

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Aug 20, 2021
  2. tswast
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Aug 20, 2021
  3. tswast commented on Aug 20, 2021

    @tswast
    tswast
    on Aug 20, 2021
    ContributorAuthor
    More actions

    Towards internal issue 195337762

  4. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Aug 21, 2021
  5. tswast
    self-assigned this
    on Aug 23, 2021
  6. gcf-merge-on-green
    closed this as completedin #896on Aug 25, 2021
  7. gcf-merge-on-green
    added a commit that references this issue on Aug 25, 2021

    fix: populate default `timeout` and retry after client-side timeout (#…

    This issue will close once commit b508809 is merged into the 'main' branch.
    b508809
  8. ttobisawa
    added a commit that references this issue on Aug 31, 2021

    test: add samples Python 3.9 test session (googleapis#506)

    3138d41
  9. tswast
    added a commit that references this issue on Sep 9, 2021

    chore: sync v3 branch with main (#947)

    This issue will close once commit 2cb1c21 is merged into the 'main' branch.
    2cb1c21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tswast
    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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.