degesch: fix backlog limit
It was effectively infinite.
This commit is contained in:
		
							parent
							
								
									c4a18ec8a7
								
							
						
					
					
						commit
						fdeb550ee0
					
				| @ -3013,7 +3013,7 @@ static void | ||||
| on_config_backlog_limit_change (struct config_item *item) | ||||
| { | ||||
| 	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) | ||||
| 		buffer_pop_excess_lines (ctx, iter); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user