Closed cnorthwood closed 5 years ago
Often logs are filled with lines like:
2019-01-04 10:49:09,756 WARN python.regquery.regquery.etcd_watch Could not contact etcd: HTTPConnectionPool(host='localhost', port=4001): Read timed out.
As far as I can tell, requests throws a ReadTimeout exception rather than a socket.timeout exception, so this handles that case as intended.
Often logs are filled with lines like:
As far as I can tell, requests throws a ReadTimeout exception rather than a socket.timeout exception, so this handles that case as intended.