[sr-dev] git:master: modules_k/rls: RLS NOTIFY requests now trickled out instead of in one big batch on timeout
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Fri Mar 30 13:54:05 CEST 2012
Module: sip-router
Branch: master
Commit: 3bb02db14ed4861e1c30422ba26204f2ac233dee
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3bb02db14ed4861e1c30422ba26204f2ac233dee
Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date: Fri Mar 30 12:48:33 2012 +0100
modules_k/rls: RLS NOTIFY requests now trickled out instead of in one big batch on timeout
- New modparam: notifier_poll_rate (default 10 per second) can be
used to set how often the notifier process should check for work.
Each time the notifier process does something it should send (if
the hash works evenly) 1/(waitn_time * notifier_poll_rate) sets
of RLS NOTIFY requests.
- RLS NOTIFY requests will still come out within waitn_time seconds of
the back-end NOTIFY.
- Corrected the the default value of waitn_time. It is now 5 seconds
which matches the documentation and the RFC.
- Fixed a whitespace/indentation inconsistency and a typo in one of the
diagnostic messages.
---
modules_k/rls/README | 190 +++++++++++++++++++++------------------
modules_k/rls/doc/rls_admin.xml | 30 ++++++-
modules_k/rls/resource_notify.c | 8 ++-
modules_k/rls/rls.c | 80 ++++++++++-------
modules_k/rls/rls.h | 1 +
5 files changed, 187 insertions(+), 122 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=3bb02db14ed4861e1c30422ba26204f2ac233dee
More information about the sr-dev
mailing list