[Swift-commit] r3533 - trunk/bin

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Aug 13 16:55:38 CDT 2010


Author: davidk
Date: 2010-08-13 16:55:38 -0500 (Fri, 13 Aug 2010)
New Revision: 3533

Modified:
   trunk/bin/swift
Log:
Timeout value for nc


Modified: trunk/bin/swift
===================================================================
--- trunk/bin/swift	2010-08-13 19:12:45 UTC (rev 3532)
+++ trunk/bin/swift	2010-08-13 21:55:38 UTC (rev 3533)
@@ -129,7 +129,7 @@
     USERID=`echo $USERID $HOSTNAME $MAC | $MD5SUM |cut -d ' ' -f1`
     DATE=`date`
     KEY=`echo $USERID $DATE $$ | $MD5SUM | cut -d ' ' -f1`
-    echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0| $NC -u $LISTENER $PORT &
+    echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH -1 0| $NC -w 60 -u $LISTENER $PORT &
 fi
 
 ### EXECUTE ############
@@ -144,7 +144,7 @@
 return_code=$?
 
 if [ "$SWIFT_USAGE_STATS" = 1 ]; then
-	echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1| $NC -u $LISTENER $PORT &
+	echo $KEY $USERID $SCRIPTID $SCRIPTLENGTH $return_code 1| $NC -w 60 -u $LISTENER $PORT &
 fi
 
 exit $return_code




More information about the Swift-commit mailing list