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
This commit is contained in:
parent
c7d29cdcf2
commit
ce5bed44e4
|
@ -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
|
||||
|
|
|
@ -509,8 +509,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:
|
||||
|
|
Loading…
Reference in New Issue