Skip to content

Core: Add timeout parameter to connection's api_request() method #9914

Closed

Description

@plamut

As a client library developer, I want to have an easy way of specifying the timeout at the transport level for HTTP requests.

Motivation:
If the transport layer makes an HTTP request that gets stalled, it can block the client. Any timeouts and retries on top of it cannot come into play, because the transport layer blocks them while waiting for the response without any timeout specified.

One of the manifestations of the problem in the BigQuery client: #7831

Activity

  1. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Dec 4, 2019
  2. self-assigned this
    on Dec 4, 2019
  3. tswast commented on Dec 4, 2019

    @tswast
    Contributor

    We’ll want to cut a release for this. Do you have releasetool setup, @plamut ?

  4. plamut commented on Dec 4, 2019

    @plamut
    ContributorAuthor

    @tswast I have the tool, last used in September IIRC to release a PubSub client. I can start releasing Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: coretype: 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