Skip to content

no timeout on requests #7

@aniche

Description

@aniche

code uses python requests library
https://requests.readthedocs.io/en/master/user/quickstart/
mentions: "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"

This in fact happened to us with your api this week
please add timeout to "requests" calls in client.py

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