#26 Add a timeout to the bridge HTTP requests
Merged by jcline. Opened by jcline.
jcline/sigul connect-timeout  into  master

Download 26.patch

By default, the requests library does not add a timeout to HTTP
requests. This can potentially cause the request to hang indefinitely.

Switch to a timeout of 60 seconds on requests. This timeout applies to
both the connect() and read() calls.

Ref: https://docs.python-requests.org/en/latest/user/advanced/#timeouts

rebased onto 33196366e33bf0c4e7d97bd1094c3048aa922f99

Pull-Request has been merged by jcline

Metadata