]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sorcery: Add setting object type congestion levels. 53/2953/3
authorRichard Mudgett <rmudgett@digium.com>
Thu, 2 Jun 2016 23:19:13 +0000 (18:19 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 7 Jun 2016 23:57:36 +0000 (18:57 -0500)
commit110d7724675a496dd1c338e296e0c26d96156c3e
tree552b0b5a567479b50019c321a6355c17df9cf659
parent610eee2a36d2d2426947784a230c31dca6b18c62
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