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

SourceForge.net noreply at sourceforge.net
Tue Sep 23 12:35:49 CEST 2008


Patches item #2123978, was opened at 2008-09-23 05:59
Message generated for change (Comment added) made by anca_vamanu
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: Closed
>Resolution: Accepted
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

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

>Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-09-23 10:35

Message:
Hi Kobi,

The patch is indeed very useful in a load balanced network as you
mentioned. I will apply it. 

Thanks,
Anca  

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

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