mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Merge "stasis: Add setting subscription congestion levels."
This commit is contained in:
@@ -71,6 +71,7 @@ ASTERISK_REGISTER_FILE()
|
||||
#include "asterisk/stasis_bridges.h"
|
||||
#include "asterisk/stasis_message_router.h"
|
||||
#include "asterisk/astobj2.h"
|
||||
#include "asterisk/taskprocessor.h"
|
||||
|
||||
/*** DOCUMENTATION
|
||||
<configInfo name="cdr" language="en_US">
|
||||
@@ -4219,6 +4220,8 @@ int ast_cdr_engine_init(void)
|
||||
if (!stasis_router) {
|
||||
return -1;
|
||||
}
|
||||
stasis_message_router_set_congestion_limits(stasis_router, -1,
|
||||
10 * AST_TASKPROCESSOR_HIGH_WATER_LEVEL);
|
||||
|
||||
if (STASIS_MESSAGE_TYPE_INIT(cdr_sync_message_type)) {
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user