Module: kamailio
Branch: master
Commit: 0583ae7f70d3a88b21f826033052753fb02b48f8
URL: https://github.com/kamailio/kamailio/commit/0583ae7f70d3a88b21f826033052753…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-11-21T14:01:10+01:00
modules: readme files regenerated - sqlops ... [skip ci]
---
Modified: src/modules/sqlops/README
---
Diff: https://github.com/kamailio/kamailio/commit/0583ae7f70d3a88b21f826033052753…
Patch: https://github.com/kamailio/kamailio/commit/0583ae7f70d3a88b21f826033052753…
---
diff --git a/src/modules/sqlops/README b/src/modules/sqlops/README
index d55fab0e081..e6b91d07f53 100644
--- a/src/modules/sqlops/README
+++ b/src/modules/sqlops/README
@@ -209,10 +209,12 @@ modparam("sqlops", "log_buf_size", 4096)
3.5. connect_mode (int)
- Control how the module will connect to database. Values: 0 - connect at
- start up or fail 1 - connect at start up but continue even if
- connecting to database server fails 2 - do not connect until needed
- (this will limit the amount of idle connections)
+ Control how the module will connect to database. Values:
+ * 0 connect at start up or fail
+ * 1 connect at start up but continue even if connecting to database
+ server fails
+ * 2 do not connect until needed (this will limit the amount of idle
+ connections)
Default value is 0.
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Documentation
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/4032
-- Commit Summary --
* sqlops: new connect mode documentation update
-- File Changes --
M src/modules/sqlops/doc/sqlops_admin.xml (20)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/4032.patchhttps://github.com/kamailio/kamailio/pull/4032.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4032
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4032(a)github.com>
Module: kamailio
Branch: master
Commit: 378e857aa4eb17fe454b0f96fd4cd0200d31caf4
URL: https://github.com/kamailio/kamailio/commit/378e857aa4eb17fe454b0f96fd4cd02…
Author: Julien Chavanton <jchavanton(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2024-11-21T07:53:11-05:00
sqlops: new connect mode documentation update (#4032)
---
Modified: src/modules/sqlops/doc/sqlops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/378e857aa4eb17fe454b0f96fd4cd02…
Patch: https://github.com/kamailio/kamailio/commit/378e857aa4eb17fe454b0f96fd4cd02…
---
diff --git a/src/modules/sqlops/doc/sqlops_admin.xml b/src/modules/sqlops/doc/sqlops_admin.xml
index beccbcab6dd..70cfe569253 100644
--- a/src/modules/sqlops/doc/sqlops_admin.xml
+++ b/src/modules/sqlops/doc/sqlops_admin.xml
@@ -221,10 +221,24 @@ modparam("sqlops", "log_buf_size", 4096)
<para>
Control how the module will connect to database.
Values:
- 0 - connect at start up or fail
- 1 - connect at start up but continue even if connecting to database server fails
- 2 - do not connect until needed (this will limit the amount of idle connections)
</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>0</emphasis> connect at start up or fail
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>1</emphasis> connect at start up but continue even if connecting to database server fails
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>2</emphasis> do not connect until needed (this will limit the amount of idle connections)
+ </para>
+ </listitem>
+ </itemizedlist>
<para>
<emphasis>
Default value is 0.