Skip to content

Add timeout to requests.post() in client #5

@Bpless

Description

@Bpless

Looks like you guys are not adding a timeout here. Seems like a nice way to degrade in the event that you service is down.

At the very least, offer it up as a configurable option.

The requests library allows you to specify a timeout as an optional keyword arg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions