Module: kamailio
Branch: master
Commit: 5750b405e78de7d2f701708f9c41126c3173d8f5
URL:
https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
Author: Your Name <you(a)example.com>
Committer: Your Name <you(a)example.com>
Date: 2020-02-20T10:35:19-05:00
usrloc: Updated documentation for 'timer_procs' parameter to clarify purpose of
having multiple timer processes.
Raised in this sr-users thread by Joel Serrano:
https://lists.kamailio.org/pipermail/sr-users/2020-February/108306.html
---
Modified: src/modules/usrloc/README
Modified: src/modules/usrloc/doc/usrloc_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
Patch:
https://github.com/kamailio/kamailio/commit/5750b405e78de7d2f701708f9c41126…
---
diff --git a/src/modules/usrloc/README b/src/modules/usrloc/README
index ff466b0e78..40f9f0f1cd 100644
--- a/src/modules/usrloc/README
+++ b/src/modules/usrloc/README
@@ -854,6 +854,12 @@ modparam("usrloc", "db_check_update", 1)
set to 0, no dedicated timer is started, the one from core will be
used.
+ If the number of timer processes is greater than 1, the workload
+ of synchronization and record expiration is split up among the
+ multiple processes. (Each process is assigned a range of slots
+ from the internal hash table, and is responsible for cleanup and
+ storage on those slots.)
+
Default value is “0”.
Example 1.36. Set timer_procs parameter
diff --git a/src/modules/usrloc/doc/usrloc_admin.xml
b/src/modules/usrloc/doc/usrloc_admin.xml
index 0f14209784..d23b2a9e7e 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -952,6 +952,14 @@ modparam("usrloc", "db_check_update", 1)
database. If set to 0, no dedicated timer is started, the one from
core will be used.
</para>
+
+ <para>
+ If the number of timer processes is greater than 1, the workload
+ of synchronization and record expiration is split up among the
+ multiple processes. (Each process is assigned a range of slots
+ from the internal hash table, and is responsible for cleanup and
+ storage on those slots.)
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.