forked from I2P_Developers/i2p.i2p
Transports: Increase connection limits for class N and higher
This commit is contained in:
@@ -157,22 +157,22 @@ public abstract class TransportImpl implements Transport {
|
||||
def *= 3;
|
||||
break;
|
||||
case Router.CAPABILITY_BW128:
|
||||
def *= 4;
|
||||
def *= 5;
|
||||
break;
|
||||
case Router.CAPABILITY_BW256:
|
||||
def *= 7;
|
||||
break;
|
||||
case Router.CAPABILITY_BW512:
|
||||
def *= 9;
|
||||
break;
|
||||
case Router.CAPABILITY_BW512:
|
||||
def *= 11;
|
||||
break;
|
||||
case Router.CAPABILITY_BW_UNLIMITED:
|
||||
def *= 12;
|
||||
def *= 14;
|
||||
break;
|
||||
}
|
||||
|
||||
if (_context.netDb().floodfillEnabled()) {
|
||||
// && !SystemVersion.isWindows()) {
|
||||
def *= 17; def /= 10; // 425 for Class O ff
|
||||
def *= 17; def /= 10;
|
||||
}
|
||||
// increase limit for SSU, for now
|
||||
if (style.equals("SSU"))
|
||||
|
||||
Reference in New Issue
Block a user