--- loncom/loncnew 2004/09/20 10:27:35 1.54 +++ loncom/loncnew 2004/09/20 18:40:06 1.55 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.54 2004/09/20 10:27:35 foxr Exp $ +# $Id: loncnew,v 1.55 2004/09/20 18:40:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1244,7 +1244,7 @@ sub QueueTransaction { if(!defined $LondSocket) { # Need to queue request. Debug(5,"Must queue..."); $WorkQueue->enqueue($requestData); - if(($ConnectionCount < $MaxConnectionCount)) { # && !$LondConnecting) { + if(($ConnectionCount < $MaxConnectionCount) && !$LondConnecting) { if($ConnectionRetriesLeft > 0) { Debug(5,"Starting additional lond connection"); if(MakeLondConnection() == 0) { @@ -1406,7 +1406,7 @@ sub SetupLoncListener { my $SocketName = GetLoncSocketPath(); unlink($SocketName); unless ($socket =IO::Socket::UNIX->new(Local => $SocketName, - Listen => 10, + Listen => 250, Type => SOCK_STREAM)) { die "Failed to create a lonc listner socket"; }