forked from I2P_Developers/i2p.i2p
BuildRequestor: Reduce delay when client build can't find
a paired tunnel (possible fix for ticket #1412)
This commit is contained in:
15
history.txt
15
history.txt
@@ -1,3 +1,18 @@
|
|||||||
|
2014-11-26 zzz
|
||||||
|
* BuildRequestor: Reduce delay when client build can't find
|
||||||
|
a paired tunnel (ticket #1412)
|
||||||
|
* Data:
|
||||||
|
- Fix NPE on unknown sig type in destination
|
||||||
|
- Fix hashcode and equals for typed data
|
||||||
|
* Tunnels: Disallow changing allowZeroHop setting for exploratory
|
||||||
|
|
||||||
|
2014-11-24 zzz
|
||||||
|
* i2ptunnel: Fix automatic setting of random key
|
||||||
|
* PrivateKeyFile: Don't rewrite file in main() if no options
|
||||||
|
|
||||||
|
2014-11-23 zzz
|
||||||
|
* Reseed hosts update
|
||||||
|
|
||||||
2014-11-22 zzz
|
2014-11-22 zzz
|
||||||
* PeerSelector: If non-DSA, don't use incompatible peers
|
* PeerSelector: If non-DSA, don't use incompatible peers
|
||||||
for exploratory tunnels or closest-hop in client tunnels
|
for exploratory tunnels or closest-hop in client tunnels
|
||||||
|
@@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 9;
|
public final static long BUILD = 10;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "-rc";
|
public final static String EXTRA = "-rc";
|
||||||
|
@@ -166,7 +166,10 @@ abstract class BuildRequestor {
|
|||||||
exec.buildComplete(cfg, pool);
|
exec.buildComplete(cfg, pool);
|
||||||
// Not even an exploratory tunnel? We are in big trouble.
|
// Not even an exploratory tunnel? We are in big trouble.
|
||||||
// Let's not spin through here too fast.
|
// Let's not spin through here too fast.
|
||||||
try { Thread.sleep(250); } catch (InterruptedException ie) {}
|
// But don't let a client tunnel waiting for exploratories slow things down too much,
|
||||||
|
// as there may be other tunnel pools who can build
|
||||||
|
int ms = pool.getSettings().isExploratory() ? 250 : 25;
|
||||||
|
try { Thread.sleep(ms); } catch (InterruptedException ie) {}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user