From 536b0ab1c2f74a2b4832f40e6c1ad5c83733521e Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sun, 24 Jan 2016 12:52:41 +0100 Subject: [PATCH] dispatcher: documentation for ds_timer_mode parameter --- modules/dispatcher/doc/dispatcher_admin.xml | 45 ++++++++++++++++++++- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/modules/dispatcher/doc/dispatcher_admin.xml b/modules/dispatcher/doc/dispatcher_admin.xml index 99b7d0c7329..6f44754545b 100644 --- a/modules/dispatcher/doc/dispatcher_admin.xml +++ b/modules/dispatcher/doc/dispatcher_admin.xml @@ -804,11 +804,13 @@ modparam("dispatcher", "force_dst", 1)
<varname>ds_default_socket</varname> (str) - Default socket to be used for sending pings and dispatching requests when a gateway has no send socket configured. + Default socket to be used for sending pings and dispatching requests + when a gateway has no send socket configured. - By default no default socket is defined, the first configuration script listen directive is used. + By default no default socket is defined, the first configuration + script listen directive is used. @@ -821,6 +823,45 @@ modparam("dispatcher", "force_dst", 1)
+
+ <varname>ds_timer_mode</varname> (int) + + Specify the timer process to be used by the module for + keepalives and active dialogs tracking. + + + It can be set to: + + + + 0 - use main timer process. + + + 1 - use secondary timer process. + + + + + On a server with a lot of traffic, using secondary + timer can help with performances, because the main timer + can be overloaded by taking care of transactions retransmissions + and expirations of items in memory. + + + + Default value is 0. + + + + Set the <quote>ds_timer_mode</quote> parameter + + ... + modparam("dispatcher", "ds_timer_mode", 1) + ... + + +
+