Skip to content

Commit

Permalink
usrloc docs: Fix misleading info on timer behavior
Browse files Browse the repository at this point in the history
(cherry picked from commit 755defe)
  • Loading branch information
liviuchircu committed Oct 15, 2019
1 parent 07f7f86 commit edefd10
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions modules/usrloc/doc/usrloc_admin.xml
Expand Up @@ -691,15 +691,16 @@ modparam("usrloc", "desc_time_order", 1)
<section id="param_timer_interval" xreflabel="timer_interval">
<title><varname>timer_interval</varname> (integer)</title>
<para>
Number of seconds between two timer runs. The module uses timer to
delete expired contacts, synchronize with database and other tasks,
that need to be run periodically.
Number of seconds between two timer runs. During each run, the module
will update/delete dirty/expired contacts from memory and/or mirror
these operations to the database, if configured to do so.
</para>
<warning>
<para>
In case of crash or restart contacts that are in memory only and
haven't been flushed yet will get lost. If you want minimize the
risk, use a shorter timer interval.
In case of an OpenSIPS shutdown or even a crash, contacts which are in
memory only and have not been flushed yet to disk will NOT get lost!
OpenSIPS will try its best to do a last-minute sync to DB right before
shutting down.
</para>
</warning>
<para>
Expand Down

0 comments on commit edefd10

Please sign in to comment.