[OpenSIPS-Devel] [ opensips-Patches-2123978 ] Presence: optionally disable automatic table cleanup

SourceForge.net noreply at sourceforge.net
Tue Sep 23 07:59:28 CEST 2008


Patches item #2123978, was opened at 2008-09-22 22:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2123978&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kobi Eshun (ekobi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Presence: optionally disable automatic table cleanup

Initial Comment:
Hi. Attached please find a patch that optionally disables the periodic cleanup of the watchers and presentity tables. In a load-balanced situation, it is undesirable to have multiple pool members competing to do the chores. The patch introduces a trivial FIFO function 'cleanup' which does the job on demand.

There is also a new parameter, db_update_period, which configures the frequency of the (unrelated) db_update chore. It was previously tied to the other two tasks.

Both db_update_period and clean_period may be less than or equal to zero, in which case the associated timer is disabled.

The admin documentation is updated accordingly. Cheers,
--
kobi

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2123978&group_id=232389



More information about the Devel mailing list