[LON-CAPA-cvs] cvs: loncom / loncnew
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 20 Sep 2004 18:40:06 -0000
albertel Mon Sep 20 14:40:06 2004 EDT
Modified files:
/loncom loncnew
Log:
- up the number of people we can put on hold
- enable ron's connection increase code
Index: loncom/loncnew
diff -u loncom/loncnew:1.54 loncom/loncnew:1.55
--- loncom/loncnew:1.54 Mon Sep 20 06:27:35 2004
+++ loncom/loncnew Mon Sep 20 14:40:06 2004
@@ -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 @@
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 @@
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";
}