]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sorcery: Add setting object type congestion levels. 88/2988/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 2 Jun 2016 23:19:13 +0000 (18:19 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 9 Jun 2016 15:32:07 +0000 (10:32 -0500)
commit4879cd875c932817c8259934814dd18cf15f5a1c
tree3fe532f547ee0b170cd0f1e293d5ed20d91fb2fe
parent2cd67d5b07d28891ea7c86aece702a4d6e436afc
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