Changeset 9d05424


Ignore:
Timestamp:
Sep 11, 2015 1:24:10 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
fd60606
Parents:
157d494
Message:

Router: Reduce rekey probability from 10% to 5%

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    r157d494 r9d05424  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 8;
     21    public final static long BUILD = 9;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/startup/LoadRouterInfoJob.java

    r157d494 r9d05424  
    114114                    // Not explicitly configured, and default has changed
    115115                    // Give a 10% chance of rekeying for each restart
    116                     // TODO reduce from 10 to ~3 (i.e. increase probability) in future release
    117                     if (getContext().random().nextInt(10) > 0) {
     116                    // TODO reduce from 20 to ~3 (i.e. increase probability) in future release
     117                    if (getContext().random().nextInt(20) > 0) {
    118118                        sigTypeChanged = false;
    119119                        if (_log.shouldWarn())
Note: See TracChangeset for help on using the changeset viewer.