]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis: Add setting subscription congestion levels. 54/2954/3
authorRichard Mudgett <rmudgett@digium.com>
Fri, 3 Jun 2016 16:35:49 +0000 (11:35 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 7 Jun 2016 23:57:36 +0000 (18:57 -0500)
commit557333ea4c031d10bf52ceade79c32cbff801c0c
tree08df41fed058fa3148ba892e198158a6c46386f2
parent110d7724675a496dd1c338e296e0c26d96156c3e
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