incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1310940 - in /incubator/ooo/ooo-site/trunk/content/download/test: download_new_dl.js globalvars_new_dl.js
Date Sun, 08 Apr 2012 02:08:43 GMT
Author: marcus
Date: Sun Apr  8 02:08:42 2012
New Revision: 1310940

URL: http://svn.apache.org/viewvc?rev=1310940&view=rev
Log:
More debug output for the 3rd case

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
    incubator/ooo/ooo-site/trunk/content/download/test/globalvars_new_dl.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js?rev=1310940&r1=1310939&r2=1310940&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js Sun Apr  8 02:08:42
2012
@@ -134,6 +134,8 @@ function getMirrorHost_asf_sf_mb_weighte
 	document.write( "ASF weight: "    + MIRROR_HOSTS_WEIGHT[ 0 ] + "<br/>" );
 	document.write( "MB weight: "     + MIRROR_HOSTS_WEIGHT[ 1 ] + "<br/>" );
 	document.write( "SF weight: "     + MIRROR_HOSTS_WEIGHT[ 2 ] + "<br/>" );
+	for ( i = 0; i < weight ; i++ )
+		document.write( "ASF weight: " + MIRROR_HOSTS_WEIGHTED[ i ] + "<br/>" );
 	document.write( "Total weight: "  + weight                   + "<br/>" );
 	document.write( "Random value: "  + randVal                  + "<br/>" );
 	document.write( "<br/>" );

Modified: incubator/ooo/ooo-site/trunk/content/download/test/globalvars_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/globalvars_new_dl.js?rev=1310940&r1=1310939&r2=1310940&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/globalvars_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/globalvars_new_dl.js Sun Apr  8 02:08:42
2012
@@ -15,13 +15,13 @@
 
 // The supported mirror hosts, 0 means not ready to receive load
 // The mirror ratio in percent
-var MIRROR_ASF_ACTIVE   = 1;
-var MIRROR_SF_ACTIVE    = 0;
-var MIRROR_MB_ACTIVE    = 1;
-var MIRROR_RATIO_1      = 75;
-var MIRROR_RATIO_2      = 33;
-var MIRROR_HOSTS        = [ "Apache", "MirrorBrain", "SourceForge" ];
-var MIRROR_HOSTS_WEIGHT = [ 1, 2, 3 ];
+var MIRROR_ASF_ACTIVE     = 1;
+var MIRROR_SF_ACTIVE      = 0;
+var MIRROR_MB_ACTIVE      = 1;
+var MIRROR_RATIO_1        = 75;
+var MIRROR_RATIO_2        = 33;
+var MIRROR_HOSTS          = [ "Apache", "MirrorBrain", "SourceForge" ];
+var MIRROR_HOSTS_WEIGHT   = [ 1, 2, 3 ];
 var MIRROR_HOSTS_WEIGHTED = [ "Apache", "MirrorBrain", "MirrorBrain", "SourceForge", "SourceForge",
"SourceForge" ];
 
 // Exchange the variables resp. its content to switch the MirrorBrain server



Mime
View raw message