Open grahamc opened 3 years ago
This sounds reasonable. https://docs.python-requests.org/en/master/user/advanced/#timeouts offers the means to do this.
I think we would want to introduce this on a call-by-call basis via call_api
, https://github.com/packethost/packet-python/blob/v1.44.0/packet/baseapi.py#L47. Perhaps adding an extra argument.
Will this issue be fixed soon? If not, any work around to set a timeout for all the request?
Plus, it'd be great to have it be settable. Just today I noticed a process blocked trying to talk to the EM API for 33 hours.