Author: toad
Date: 2008-04-28 17:04:20 +0000 (Mon, 28 Apr 2008)
New Revision: 19597

Modified:
   trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
Log:
Above 128k, we use half the limit.

Modified: trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2008-04-28 16:59:25 UTC (rev 19596)
+++ trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2008-04-28 17:04:20 UTC (rev 19597)
@@ -104,10 +104,11 @@
                        HTMLNode result = bandwidthForm.addChild("select", 
"name", "bw");

                        result.addChild("option", "value", "8K", 
l10n("bwlimitLowerSpeed"));
+                       // Special case for 128kbps to increase performance at 
the cost of some link degradation. Above that we use 50% of the limit.
                        result.addChild("option", "value", "12K", "512+/128 
kbps");
-                       result.addChild("option", new String[] { "value", 
"selected" }, new String[] { "24K", "selected" }, "1024+/256 kbps");
-                       result.addChild("option", "value", "48K", "1024+/512 
kbps");
-                       result.addChild("option", "value", "96K", "1024+/1024 
kbps");
+                       result.addChild("option", new String[] { "value", 
"selected" }, new String[] { "16K", "selected" }, "1024+/256 kbps");
+                       result.addChild("option", "value", "32K", "1024+/512 
kbps");
+                       result.addChild("option", "value", "64K", "1024+/1024 
kbps");
                        result.addChild("option", "value", "1000K", 
l10n("bwlimitHigherSpeed"));

                        bandwidthForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "bwF", 
L10n.getString("FirstTimeWizardToadlet.continue")});


Reply via email to