* BuildRequestor: Slow down build loop if we have no exploratory tunnels

(ticket #926)
This commit is contained in:
zzz
2013-05-01 17:26:07 +00:00
parent c198e216fd
commit af7eaf1f05

View File

@ -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;
}