-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
aiohttp.TCPConnector constructor param ttl_dns_cache documentation #3512
Copy link
Copy link
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationpr-merged
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 :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationpr-merged