parent
c4a18ec8a7
commit
fdeb550ee0
|
@ -3013,7 +3013,7 @@ static void
|
||||||
on_config_backlog_limit_change (struct config_item *item)
|
on_config_backlog_limit_change (struct config_item *item)
|
||||||
{
|
{
|
||||||
struct app_context *ctx = item->user_data;
|
struct app_context *ctx = item->user_data;
|
||||||
ctx->backlog_limit = MAX (item->value.integer, INT_MAX);
|
ctx->backlog_limit = MIN (item->value.integer, INT_MAX);
|
||||||
|
|
||||||
LIST_FOR_EACH (struct buffer, iter, ctx->buffers)
|
LIST_FOR_EACH (struct buffer, iter, ctx->buffers)
|
||||||
buffer_pop_excess_lines (ctx, iter);
|
buffer_pop_excess_lines (ctx, iter);
|
||||||
|
|
Loading…
Reference in New Issue