Changeset 088290c


Ignore:
Timestamp:
Oct 7, 2014 12:04:55 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8270a92
Parents:
6685acfe
Message:

Startup: Delay ReadConfigJob? another minute

  • code cleanup
Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/startup/BootCommSystemJob.java

    r6685acfe r088290c  
    1818/** This actually boots almost everything */
    1919class BootCommSystemJob extends JobImpl {
    20     private Log _log;
     20    private final Log _log;
    2121   
    2222    public static final String PROP_USE_TRUSTED_LINKS = "router.trustedLinks";
     
    4848
    4949        Job j = new ReadConfigJob(getContext());
    50         j.getTiming().setStartAfter(getContext().clock().now() + 60*1000);
     50        j.getTiming().setStartAfter(getContext().clock().now() + 2*60*1000);
    5151        getContext().jobQueue().addJob(j);
    5252        ((RouterClock) getContext().clock()).addShiftListener(getContext().router());
  • router/java/src/net/i2p/router/tasks/ReadConfigJob.java

    r6685acfe r088290c  
    4747                log.warn("Reloaded " + configFile);
    4848        }
    49         getTiming().setStartAfter(getContext().clock().now() + DELAY);
    50         getContext().jobQueue().addJob(this);
     49        requeue(DELAY);
    5150    }
    5251   
Note: See TracChangeset for help on using the changeset viewer.