From 4f1f2cc99efe84e8e9c714d31824aba07a61ac2b Mon Sep 17 00:00:00 2001 From: jrandom Date: Tue, 13 Jul 2004 05:49:16 +0000 Subject: [PATCH] since people are using small buckets, the 10s replenish frequency is a really really bad idea (so default to 1s) --- .../src/net/i2p/router/transport/FIFOBandwidthRefiller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java b/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java index 855f46b11..15c3cc0e8 100644 --- a/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java +++ b/router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java @@ -37,7 +37,7 @@ class FIFOBandwidthRefiller implements Runnable { /** Updating the bandwidth more than once a second is silly. once every 2 or 5 seconds is less so. */ public static final long MIN_REPLENISH_FREQUENCY = 1000; - private static final long DEFAULT_REPLENISH_FREQUENCY = 10*1000; + private static final long DEFAULT_REPLENISH_FREQUENCY = 1*1000; public FIFOBandwidthRefiller(I2PAppContext context, FIFOBandwidthLimiter limiter) { _limiter = limiter;