forked from I2P_Developers/i2p.i2p
* BuildRequestor: Slow down build loop if we have no exploratory tunnels
(ticket #926)
This commit is contained in:
@ -138,6 +138,9 @@ abstract class BuildRequestor {
|
||||
if (log.shouldLog(Log.ERROR))
|
||||
log.error("Tunnel build failed, as we couldn't find a paired tunnel for " + cfg);
|
||||
exec.buildComplete(cfg, pool);
|
||||
// Not even a zero-hop exploratory tunnel? We are in big trouble.
|
||||
// Let's not spin through here too fast.
|
||||
try { Thread.sleep(250); } catch (InterruptedException ie) {}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user