login_process_per_connection=yes should have limited how many lines/sec process was allowed to log. HEAD
authorTimo Sirainen <tss@iki.fi>
Tue, 24 Mar 2009 13:02:59 -0400
branchHEAD
changeset 88511c76e82e0b36
parent 8850 79311c07f98f
child 8852 ed8e33c2199e
login_process_per_connection=yes should have limited how many lines/sec process was allowed to log.
src/master/login-process.c
     1.1 --- a/src/master/login-process.c	Tue Mar 24 13:01:16 2009 -0400
     1.2 +++ b/src/master/login-process.c	Tue Mar 24 13:02:59 2009 -0400
     1.3 @@ -649,7 +649,7 @@
     1.4  
     1.5  	max_log_lines_per_sec =
     1.6  		group->set->login_process_per_connection ? 10 : 0;
     1.7 -	log_fd = log_create_pipe(&log, /*max_log_lines_per_sec*/0);
     1.8 +	log_fd = log_create_pipe(&log, max_log_lines_per_sec);
     1.9  	if (log_fd < 0)
    1.10  		pid = -1;
    1.11  	else {