Minor cleanup
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@462 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
698fc01595
commit
4b72a40100
@ -140,11 +140,10 @@ $> = $quid;
|
||||
while (1) {
|
||||
REAPER();
|
||||
my $running = scalar keys %childstatus;
|
||||
while ($running >= $MAXCONN) {
|
||||
if ($running >= $MAXCONN) {
|
||||
::log(LOGINFO,"Too many connections: $running >= $MAXCONN. Waiting one second.");
|
||||
sleep(1);
|
||||
REAPER();
|
||||
$running = scalar keys %childstatus;
|
||||
next;
|
||||
}
|
||||
if (!$sel->can_read(1)) {
|
||||
next;
|
||||
|
Loading…
Reference in New Issue
Block a user