]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sorcery: Add setting object type congestion levels. 99/2999/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 2 Jun 2016 23:19:13 +0000 (18:19 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 8 Jun 2016 18:46:05 +0000 (13:46 -0500)
commitb046fa1907768a31650c8772d2ec22aca82de68a
tree8394a6d023af5602715d123ed1c195640d8dbe09
parent237f9ef7afb84e0fd4f84d1a8ad400cb24390efa
sorcery: Add setting object type congestion levels.

Sorcery creates taskprocessors for object types to process object observer
callbacks.  An API call is needed to be able to set the congestion levels
of these taskprocessors for selected object types.

* Updated PJSIP's contact and contact_status sorcery object type observer
default congestion levels based upon stress testing.  Increased the
congestion levels to reduce the potential for bursty register/unregister
and subscribe/unsubscribe activity from triggering the taskprocessor
overload alert.

ASTERISK-26088
Reported by:  Richard Mudgett

Change-Id: I4542e83b556f0714009bfeff89505c801f1218c6
include/asterisk/sorcery.h
main/sorcery.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_options.c