dwavesystems / dwavesystems/dwave-cloud-client
Better control over DNS lookups
Open
feature
- Dominant language
- Python
- Stars
- 63
- Forks
- 44
- Avg merge
- 13h 45m
- Merged PRs (30d)
- 1
Description
Currently, hostname resolution is done implicitly via `requests` -> `urllib3` -> `http.client` -> `socket`. Connection timeout does not include the DNS timeout, so requests on a system with broken DNS take prohibitively long.
We could:
- resolve the hostname manually, and gain control over timeout (suggestion [here](https://bugs.python.org/issue22889)),
- cache the IP address.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.