Changeset 285fa6c


Ignore:
Timestamp:
Nov 26, 2014 5:32:56 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
59996906
Parents:
9700f30
Message:

BuildRequestor?: Reduce delay when client build can't find
a paired tunnel (possible fix for ticket #1412)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    r9700f30 r285fa6c  
     12014-11-26 zzz
     2 * BuildRequestor: Reduce delay when client build can't find
     3   a paired tunnel (ticket #1412)
     4 * Data:
     5   - Fix NPE on unknown sig type in destination
     6   - Fix hashcode and equals for typed data
     7 * Tunnels: Disallow changing allowZeroHop setting for exploratory
     8
     92014-11-24 zzz
     10 * i2ptunnel: Fix automatic setting of random key
     11 * PrivateKeyFile: Don't rewrite file in main() if no options
     12
     132014-11-23 zzz
     14 * Reseed hosts update
     15
    1162014-11-22 zzz
    217 * PeerSelector: If non-DSA, don't use incompatible peers
  • router/java/src/net/i2p/router/RouterVersion.java

    r9700f30 r285fa6c  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 9;
     21    public final static long BUILD = 10;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/BuildRequestor.java

    r9700f30 r285fa6c  
    167167            // Not even an exploratory tunnel? We are in big trouble.
    168168            // Let's not spin through here too fast.
    169             try { Thread.sleep(250); } catch (InterruptedException ie) {}
     169            // But don't let a client tunnel waiting for exploratories slow things down too much,
     170            // as there may be other tunnel pools who can build
     171            int ms = pool.getSettings().isExploratory() ? 250 : 25;
     172            try { Thread.sleep(ms); } catch (InterruptedException ie) {}
    170173            return false;
    171174        }
Note: See TracChangeset for help on using the changeset viewer.