]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis: Add setting subscription congestion levels. 00/3000/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 3 Jun 2016 16:35:49 +0000 (11:35 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 8 Jun 2016 18:46:05 +0000 (13:46 -0500)
commit942fa0c95b11dfafcdfa5277cb236c69691eb0b9
tree6202416d2e411ed157017b52648d0d43c32a2b53
parentb046fa1907768a31650c8772d2ec22aca82de68a
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