[sr-dev] git:5.2:efa66015: db_text: add missing "max_result_rows" param to the doc
Ovidiu Sas
osas at voipembedded.com
Wed May 15 16:18:14 CEST 2019
Module: kamailio
Branch: 5.2
Commit: efa660150a4e68e1af274d492acc7b05bf9b555a
URL: https://github.com/kamailio/kamailio/commit/efa660150a4e68e1af274d492acc7b05bf9b555a
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2019-05-15T10:17:54-04:00
db_text: add missing "max_result_rows" param to the doc
(cherry picked from commit 6b7d02c9ed404abaa7c45dbcc86173533a838e01)
---
Modified: src/modules/db_text/doc/db_text_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/efa660150a4e68e1af274d492acc7b05bf9b555a.diff
Patch: https://github.com/kamailio/kamailio/commit/efa660150a4e68e1af274d492acc7b05bf9b555a.patch
---
diff --git a/src/modules/db_text/doc/db_text_admin.xml b/src/modules/db_text/doc/db_text_admin.xml
index 4f3aa5f67e..9c04f106dd 100644
--- a/src/modules/db_text/doc/db_text_admin.xml
+++ b/src/modules/db_text/doc/db_text_admin.xml
@@ -342,7 +342,7 @@ modparam("db_text", "emptystring", 1)
<para>
<emphasis>
- Default value is <quote>16384</quote> (off).
+ Default value is <quote>16384</quote>.
</emphasis>
</para>
<example>
@@ -351,6 +351,26 @@ modparam("db_text", "emptystring", 1)
...
modparam("db_text", "file_buffer_size", 8192)
...
+</programlisting>
+ </example>
+ </section>
+ <section>
+ <title><varname>max_result_rows</varname> (integer)</title>
+ <para>
+ number of rows to read from the text file.
+ </para>
+
+ <para>
+ <emphasis>
+ Default value is <quote>100000</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>max_result_rows</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("db_text", "max_result_rows", 1000000)
+...
</programlisting>
</example>
</section>
More information about the sr-dev
mailing list