Closed
Description
Long story short
It says the default is both 10 seconds, and forever.
ttl_dns_cache (int) –
expire after some seconds the DNS entries, None means cached forever. By default 10 seconds.By default DNS entries are cached forever, in some environments the IP addresses related to a specific HOST can change after a specific time. Use this option to keep the DNS cache updated refreshing each entry after N seconds.
Expected behaviour
One answer :)
Where
https://github.com/aio-libs/aiohttp/blob/master/docs/client_reference.rst line 948 (doesn't render fully in the github preview)
Why don't I just fix it
I don't have all the sphynx stuff set up, and it's so small I'm not going to go through all that. Sorry :)
Activity
aio-libs-bot commentedon Jan 9, 2019
GitMate.io thinks the contributor most likely able to help you is @asvetlov.
Possibly related issues are #2224 (aiohttp.TCPConnector()), #120 (Documentation), #2377 (Drop resovle param from TCPConnector), #2478 (Documentation reorganizing ), and #58 (aiohttp.HttpClient).
tmo-trustpilot commentedon Oct 22, 2019
Thanks!
Update www/py-aiohttp to 3.7.0