File 8173-diameter-doc-Add-description-of-the-new-service-opti.patch of Package erlang
From c5ba071270557216158a95e71b33766be638eab8 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Tue, 19 Mar 2024 17:47:54 +0100
Subject: [PATCH 3/5] [diameter|doc] Add description of the new service option
---
lib/diameter/doc/src/diameter.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index 5536dd9860..3513fa7c63 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -1043,6 +1043,25 @@ each node from which requests are sent.</p>
</warning>
</item>
+<tag><c>{bins_info, boolean() | non_neg_integer()}</c></tag>
+<item>
+<p>
+This option is only used when when the service_info/1 function is called.
+The point is that in a system under heavy load, the heap can contain
+a lot of binaries, so counting them all (and there size's) can be
+costly. </p>
+
+<p>
+If <c>true</c> then the binaries on the heap are counted.
+If <c>false</c> info about binaries on the heap is not collected.
+If <c>non_neg_integer()</c> the binaries on the heap are counted,
+up to this point.</p>
+
+<p>
+Defaults to <c>true</c>.</p>
+
+</item>
+
<tag><c>&transport_opt;</c></tag>
<item>
<p>
--
2.35.3