]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis: Add setting subscription congestion levels. 89/2989/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 3 Jun 2016 16:35:49 +0000 (11:35 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 9 Jun 2016 15:32:07 +0000 (10:32 -0500)
commitdcfef53ee2339d09f839aa4e333419b80b309d8a
tree76193b7e1f9251bdce3aba0c2e57b270794ab797
parent4879cd875c932817c8259934814dd18cf15f5a1c
stasis: Add setting subscription congestion levels.

Stasis subscriptions and message routers create taskprocessors to process
the event messages.  API calls are needed to be able to set the congestion
levels of these taskprocessors for selected subscriptions and message
routers.

* Updated CDR, CEL, and manager's stasis subscription congestion levels
based upon stress testing.  Increased the congestion levels to reduce the
potential for bursty call setup/teardown activity from triggering the
taskprocessor overload alert.  CDRs in particular need an extra high
congestion level because they can take awhile to process the stasis
messages.

ASTERISK-26088
Reported by:  Richard Mudgett

Change-Id: Id0a716394b4eee746dd158acc63d703902450244
include/asterisk/stasis.h
include/asterisk/stasis_message_router.h
main/cdr.c
main/cel.c
main/manager.c
main/stasis.c
main/stasis_message_router.c