I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ca445ac1 authored by jrandom's avatar jrandom Committed by zzz
Browse files

when we need tunnels, always build 2, not the exact quantity required (so that its a bit smoother)

parent 16fb31b6
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ class TunnelPoolManagerJob extends JobImpl { ...@@ -53,7 +53,7 @@ class TunnelPoolManagerJob extends JobImpl {
if (_log.shouldLog(Log.INFO)) if (_log.shouldLog(Log.INFO))
_log.info("Insufficient free inbound tunnels (" + curFreeInboundTunnels + ", not " _log.info("Insufficient free inbound tunnels (" + curFreeInboundTunnels + ", not "
+ targetInboundTunnels + "), requesting more"); + targetInboundTunnels + "), requesting more");
requestInboundTunnels(targetInboundTunnels - curFreeInboundTunnels); requestInboundTunnels(2);
//requestFakeInboundTunnels(1); //requestFakeInboundTunnels(1);
built = true; built = true;
} else { } else {
...@@ -75,7 +75,7 @@ class TunnelPoolManagerJob extends JobImpl { ...@@ -75,7 +75,7 @@ class TunnelPoolManagerJob extends JobImpl {
if (_log.shouldLog(Log.INFO)) if (_log.shouldLog(Log.INFO))
_log.info("Insufficient outbound tunnels (" + curOutboundTunnels + ", not " _log.info("Insufficient outbound tunnels (" + curOutboundTunnels + ", not "
+ targetOutboundTunnels + "), requesting more"); + targetOutboundTunnels + "), requesting more");
requestOutboundTunnels(targetOutboundTunnels - curOutboundTunnels); requestOutboundTunnels(2);
//requestFakeOutboundTunnels(1); //requestFakeOutboundTunnels(1);
built = true; built = true;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment