Skip to content

Add a timeout for requests #4

Description

@kevinlondon

According to the requests documentation, we should be using a timeout parameter for nearly all requests:

You can tell Requests to stop waiting for a response after a given number of seconds with the timeout parameter. Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely:

The API has an SLA of 99.5%, so it's likely that in the course of using it, it will time out once in a while and we should be prepared for that.

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