File 0170-Document-the-cache_size-option-applies-only-to-dns-l.patch of Package erlang

From 16a88936f2cc781bcb356ebbf129a69e7870482b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
Date: Thu, 15 Oct 2020 12:11:05 +0200
Subject: [PATCH] Document the cache_size option applies only to dns lookups

---
 erts/doc/src/inet_cfg.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/erts/doc/src/inet_cfg.xml b/erts/doc/src/inet_cfg.xml
index 0e2437e33c..b8f9abcfa1 100644
--- a/erts/doc/src/inet_cfg.xml
+++ b/erts/doc/src/inet_cfg.xml
@@ -243,7 +243,9 @@
       <tag><c><![CDATA[{cache_size, Size}.]]></c></tag>
       <item>
         <p><c><![CDATA[Size = integer()]]></c></p>
-        <p>Set the resolver cache size. Defaults to 100 DNS records.</p>
+	<p>Set the resolver cache size for <c>dns</c> lookups.
+	  <c>native</c> lookups are not cached. Defaults to 100 DNS records.
+	</p>
       </item>
       <tag><c><![CDATA[{cache_refresh, Time}.]]></c></tag>
         <item>
-- 
2.26.2

openSUSE Build Service is sponsored by