forked from I2P_Developers/i2p.i2p
clogged job queue fix 2nd try
This commit is contained in:
@ -77,10 +77,13 @@ class StartExplorersJob extends JobImpl {
|
||||
* we'll explore appropriately.
|
||||
*/
|
||||
public void updateExploreSchedule() {
|
||||
long delay = getNextRunDelay();
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
_log.debug("Updating exploration schedule with a delay of " + delay);
|
||||
requeue(delay);
|
||||
// This is playing havoc with the JobQueue and putting this job out-of-order
|
||||
// since we switched to a TreeSet,
|
||||
// so just let runJob() above do the scheduling.
|
||||
//long delay = getNextRunDelay();
|
||||
//if (_log.shouldLog(Log.DEBUG))
|
||||
// _log.debug("Updating exploration schedule with a delay of " + delay);
|
||||
//requeue(delay);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user