Module: kamailio
Branch: master
Commit: f78bc10dfc4b39ed3d5967b884202cb29cf834b8
URL: https://github.com/kamailio/kamailio/commit/f78bc10dfc4b39ed3d5967b884202cb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-07T17:34:51+02:00
sqlops: docs for results_maxsize modparam
---
Modified: src/modules/sqlops/doc/sqlops_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/f78bc10dfc4b39ed3d5967b884202cb…
Patch: https://github.com/kamailio/kamailio/commit/f78bc10dfc4b39ed3d5967b884202cb…
---
diff --git a/src/modules/sqlops/doc/sqlops_admin.xml b/src/modules/sqlops/doc/sqlops_admin.xml
index 671fe79858..ef7756b9a5 100644
--- a/src/modules/sqlops/doc/sqlops_admin.xml
+++ b/src/modules/sqlops/doc/sqlops_admin.xml
@@ -212,6 +212,32 @@ modparam("sqlops", "tr_buf_size", 4096)
...
modparam("sqlops", "connect_mode", 1)
...
+</programlisting>
+ </example>
+ </section>
+ <section id="sqlops.results_maxsize">
+ <title><varname>results_maxsize</varname> (int)</title>
+ <para>
+ Set the upper limit of how many result containers are going to be
+ defined.
+ </para>
+ <para>
+ Note that a result container can be used for different SQL queries, it
+ is not required to have result container per SQL query. Use different
+ containers when the result records are needed at the same time (e.g.,
+ compare a field from one result with a field from another result).
+ </para>
+ <para>
+ <emphasis>
+ Default value is 32.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>results_maxsize</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("sqlops", "results_maxsize", 4096)
+...
</programlisting>
</example>
</section>
<!-- 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
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2430
-- Commit Summary --
* xhttp_prom: optional disabling of metrics deletion
-- File Changes --
M src/modules/xhttp_prom/doc/xhttp_prom_admin.xml (3)
M src/modules/xhttp_prom/prom_metric.c (12)
M src/modules/xhttp_prom/xhttp_prom.c (7)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2430.patchhttps://github.com/kamailio/kamailio/pull/2430.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2430
<!-- 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
-->
#### Type Of Change
- [x] New feature (non-breaking change which adds new functionality)
#### Description
Add a configuration setting to preset latency estimator in dispatcher
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2492
-- Commit Summary --
* dispatcher: add an attribute to preset the
-- File Changes --
M src/modules/dispatcher/dispatch.c (27)
M src/modules/dispatcher/dispatch.h (2)
M src/modules/dispatcher/doc/dispatcher_admin.xml (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2492.patchhttps://github.com/kamailio/kamailio/pull/2492.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2492
Module: kamailio
Branch: master
Commit: e8ce5cff74c3d53df361e42746bb4a7c1f8b6214
URL: https://github.com/kamailio/kamailio/commit/e8ce5cff74c3d53df361e42746bb4a7…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-10-06T22:31:12+02:00
modules: readme files regenerated - dispatcher ... [skip ci]
---
Modified: src/modules/dispatcher/README
---
Diff: https://github.com/kamailio/kamailio/commit/e8ce5cff74c3d53df361e42746bb4a7…
Patch: https://github.com/kamailio/kamailio/commit/e8ce5cff74c3d53df361e42746bb4a7…
---
diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index a30d001f66..2d07fe7669 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -762,7 +762,8 @@ modparam("dispatcher", "ds_probing_mode", 1)
3.26. ds_ping_latency_stats (int)
- Enable latency measurement when pinging nodes
+ Enable latency measurement when pinging nodes The estimator can be
+ initialized at startup and reload using the attribute latency.
* If set to 0, disable latency measurement.
* If set to 1, enable latency measurement.
@@ -776,6 +777,9 @@ DEST: {
URI: sip:1.2.3.4
FLAGS: AX
PRIORITY: 9
+ ATTRS: {
+ BODY: latency=24
+ }
LATENCY: {
AVG: 24.250000 # weighted moving average for the last few weeks
STD: 1.035000 # standard deviation of AVG
@@ -1695,6 +1699,7 @@ kamctl rpc dispatcher.hash 4 bob server.com
overwrites the general ds_ping_from parameter.
* 'obproxy' - SIP URI of outbound proxy to be used when sending
pings. It overwrites the general ds_outbound_proxy parameter.
+ * 'latency' - latency_stats initialization in ms.
6.1.2. File Format
Module: kamailio
Branch: master
Commit: 48d0953b5fd1f6fed97ce6b016f05860b25cd97f
URL: https://github.com/kamailio/kamailio/commit/48d0953b5fd1f6fed97ce6b016f0586…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-06T12:58:01+02:00
core: parser - wrapper function to parse str header name
---
Modified: src/core/parser/parse_hname2.c
Modified: src/core/parser/parse_hname2.h
---
Diff: https://github.com/kamailio/kamailio/commit/48d0953b5fd1f6fed97ce6b016f0586…
Patch: https://github.com/kamailio/kamailio/commit/48d0953b5fd1f6fed97ce6b016f0586…
---
diff --git a/src/core/parser/parse_hname2.c b/src/core/parser/parse_hname2.c
index 598008214a..ab56fa4ea5 100644
--- a/src/core/parser/parse_hname2.c
+++ b/src/core/parser/parse_hname2.c
@@ -309,3 +309,9 @@ char* parse_hname2_short(char* const begin, const char* const end, struct hdr_fi
{
return parse_sip_header_name(begin, end, hdr, 0);
}
+
+char* parse_hname2_str (str* const hbuf, hdr_field_t* const hdr)
+{
+ return parse_sip_header_name(hbuf->s, hbuf->s + hbuf->len, hdr, 1);
+}
+
diff --git a/src/core/parser/parse_hname2.h b/src/core/parser/parse_hname2.h
index 9eef0bb53e..2c864857d6 100644
--- a/src/core/parser/parse_hname2.h
+++ b/src/core/parser/parse_hname2.h
@@ -15,13 +15,13 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*! \file
- * \brief Parser :: Fast 32-bit Header Field Name Parser
+ * \brief Parser :: Fast Header Field Name Parser
*
* \ingroup parser
*/
@@ -37,6 +37,7 @@
*/
char* parse_hname2(char* const begin, const char* const end, struct hdr_field* const hdr);
char* parse_hname2_short(char* const begin, const char* const end, struct hdr_field* const hdr);
+char* parse_hname2_str (str* const hbuf, hdr_field_t* const hdr);
int ksr_hname_init_index(void);
int ksr_hname_init_config(void);