Module: kamailio
Branch: master
Commit: 6c1c70bbceeba87d6d87c852006c92f7d120ddb9
URL:
https://github.com/kamailio/kamailio/commit/6c1c70bbceeba87d6d87c852006c92f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-11-30T09:25:53+01:00
sqlops: docs for connect_mode parameter
---
Modified: src/modules/sqlops/doc/sqlops_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/6c1c70bbceeba87d6d87c852006c92f…
Patch:
https://github.com/kamailio/kamailio/commit/6c1c70bbceeba87d6d87c852006c92f…
---
diff --git a/src/modules/sqlops/doc/sqlops_admin.xml
b/src/modules/sqlops/doc/sqlops_admin.xml
index 4b38a3f7b8..aaec64f302 100644
--- a/src/modules/sqlops/doc/sqlops_admin.xml
+++ b/src/modules/sqlops/doc/sqlops_admin.xml
@@ -191,6 +191,27 @@ modparam("sqlops", "sqlres", "ra")
...
modparam("sqlops", "tr_buf_size", 4096)
...
+</programlisting>
+ </example>
+ </section>
+ <section id="sqlops.p.connect_mode">
+ <title><varname>connect_mode</varname> (int)</title>
+ <para>
+ Control if the module must stop loading when connecting to database
+ server fails during start up. Values: 0 - stop loading; 1 - continue
+ even if connecting to database server fails.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>connect_mode</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("sqlops", "connect_mode", 1)
+...
</programlisting>
</example>
</section>