forked from I2P_Developers/i2p.i2p
make default bw 96/40
This commit is contained in:
@@ -34,8 +34,14 @@ public class FIFOBandwidthRefiller implements Runnable {
|
|||||||
//public static final String PROP_REPLENISH_FREQUENCY = "i2np.bandwidth.replenishFrequencyMs";
|
//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)
|
// 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_INBOUND_BANDWIDTH = 96;
|
||||||
public static final int DEFAULT_OUTBOUND_BANDWIDTH = 32;
|
/**
|
||||||
|
* 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_INBOUND_BURST_BANDWIDTH = 80;
|
||||||
public static final int DEFAULT_OUTBOUND_BURST_BANDWIDTH = 40;
|
public static final int DEFAULT_OUTBOUND_BURST_BANDWIDTH = 40;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user