Skip to content

Default timeouts #181

@seanmonstar

Description

@seanmonstar

Not having a default timeout means that anyone who doesn't consider a maximum time length for a request can end up with a hung thread (with sync client) for quite a while. This could even not manifest during testing and development, and only happen in rare occasions in production, where the long hang without a cancel hurts a user.

Now, some people need a really long timeout, such as if doing "long polling", or on flaky wireless connections. But as long as there is an option for them to increase (disable?) the timeout, they should be fine.

So, what's a proper default? 30 seconds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-rfcBlocked: Request for comments. More discussion would help move this along.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions