From b430b02021a19ad9512730db5bfb233f53ee4009 Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 1 Jun 2009 23:36:11 +0000 Subject: [PATCH] make default bw 96/40 --- .../i2p/router/transport/FIFOBandwidthRefiller.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java b/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java index 693df45b1..b24d79a11 100644 --- a/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java +++ b/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java @@ -34,8 +34,14 @@ public class FIFOBandwidthRefiller implements Runnable { //public static final String PROP_REPLENISH_FREQUENCY = "i2np.bandwidth.replenishFrequencyMs"; // no longer allow unlimited bandwidth - the user must specify a value, else use defaults below (KBps) - public static final int DEFAULT_INBOUND_BANDWIDTH = 64; - public static final int DEFAULT_OUTBOUND_BANDWIDTH = 32; + public static final int DEFAULT_INBOUND_BANDWIDTH = 96; + /** + * Caution, do not make DEFAULT_OUTBOUND_BANDWIDTH * DEFAULT_SHARE_PCT > 32 + * without thinking about the implications (default connection limits, for example) + * of moving the default bandwidth class from L to M, or maybe + * adjusting bandwidth class boundaries. + */ + public static final int DEFAULT_OUTBOUND_BANDWIDTH = 40; public static final int DEFAULT_INBOUND_BURST_BANDWIDTH = 80; public static final int DEFAULT_OUTBOUND_BURST_BANDWIDTH = 40;