Skip to content

Commit

Permalink
[3.7] Updated the docs so there is no contradiction in ttl_dns_cache …
Browse files Browse the repository at this point in the history
…default value (#4241)

(cherry picked from commit aee067d)

Co-authored-by: Pavel Filatov <triksrimer@gmail.com>
  • Loading branch information
paulefoe authored and asvetlov committed Oct 21, 2019
1 parent d8ffad8 commit fb49f84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES/3512.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated the docs so there is no contradiction in ttl_dns_cache default value
7 changes: 3 additions & 4 deletions docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1040,10 +1040,9 @@ TCPConnector
:param int ttl_dns_cache: 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.
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.

:param int limit: total number simultaneous connections. If *limit* is
``None`` the connector has no limit (default: 100).
Expand Down

0 comments on commit fb49f84

Please sign in to comment.