Skip to content
Snippets Groups Projects
Commit 4315634b authored by Matthew Fredrickson's avatar Matthew Fredrickson Committed by mattf
Browse files

main/taskprocessor: Increase max name length of taskprocessors

Since the new names went in, the maximum taskprocessor name is too
short.  This patch increases the name field to a length to better
handle the new names.

Change-Id: I32f32d6926f25c8ef5a91303fd2988d2c2858877
parent 85f87790
Branches
Tags
No related merge requests found
......@@ -57,7 +57,7 @@
struct ast_taskprocessor;
/*! \brief Suggested maximum taskprocessor name length (less null terminator). */
#define AST_TASKPROCESSOR_MAX_NAME 45
#define AST_TASKPROCESSOR_MAX_NAME 70
/*! Default taskprocessor high water level alert trigger */
#define AST_TASKPROCESSOR_HIGH_WATER_LEVEL 500
......
......@@ -511,8 +511,8 @@ static char *cli_tps_report(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
struct ao2_container *sorted_tps;
struct ast_taskprocessor *tps;
struct ao2_iterator iter;
#define FMT_HEADERS "%-45s %10s %10s %10s %10s %10s\n"
#define FMT_FIELDS "%-45s %10lu %10lu %10lu %10lu %10lu\n"
#define FMT_HEADERS "%-70s %10s %10s %10s %10s %10s\n"
#define FMT_FIELDS "%-70s %10lu %10lu %10lu %10lu %10lu\n"
switch (cmd) {
case CLI_INIT:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment