how to set timeout?
HyWell opened this issue · 5 comments
HyWell commented
aiodns.DNSResolver no timeout parameter
what should I do?
saghul commented
It does. It's a kwarg which is passed to pycares. However, it seems to be broken somehow: #64
shmilylty commented
Any new developments?
saghul commented
Nope, sorry.
meramsey commented
is there any way to hardcode this in vs using a parameter?
https://c-ares.haxx.se/ares_init_options.html
Maybe something more aggressive like this at a higher level could be used?
https://medium.com/pipedrive-engineering/socket-timeout-an-important-but-not-simple-issue-with-python-4bb3c58386b4