how to set timeout?
HyWell opened this issue · comments
hywell commented
aiodns.DNSResolver no timeout parameter
what should I do?
Saúl Ibarra Corretgé commented
It does. It's a kwarg which is passed to pycares. However, it seems to be broken somehow: #64
Jing Ling commented
Any new developments?
Saúl Ibarra Corretgé commented
Nope, sorry.
Michael Ramsey 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
Saúl Ibarra Corretgé commented
Nothing actionable, closing as #64 would be the canonical point for handling timeout issues.