[LON-CAPA-cvs] cvs: loncom / lonc

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 29 Aug 2003 18:25:01 -0000


albertel		Fri Aug 29 14:25:01 2003 EDT

  Modified files:              
    /loncom	lonc 
  Log:
  - 5 minutes is too long
  - 5 attempts isn't enough 
  
  
Index: loncom/lonc
diff -u loncom/lonc:1.53 loncom/lonc:1.54
--- loncom/lonc:1.53	Thu Jul 31 17:32:44 2003
+++ loncom/lonc	Fri Aug 29 14:25:01 2003
@@ -5,7 +5,7 @@
 # provides persistent TCP connections to the other servers in the network
 # through multiplexed domain sockets
 #
-# $Id: lonc,v 1.53 2003/07/31 21:32:44 albertel Exp $
+# $Id: lonc,v 1.54 2003/08/29 18:25:01 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -124,7 +124,7 @@
 %childatt               = ();       # number of attempts to start server
                                     # for ID
 
-$childmaxattempts=5;
+$childmaxattempts=15;
 
 # ---------------------------------------------------- Fork once and dissociate
 &status("Fork and dissociate");
@@ -638,7 +638,7 @@
             $request="enc:$cmdlength:$encrequest";
         }
 # --------------------------------------------------------------- Main exchange
-	$answer = londtransaction($remotesock, $request, 300);
+	$answer = londtransaction($remotesock, $request, 60);
 
 	if($DEBUG) { 
 	    &logthis("<font color=green> Request data exchange complete");