2004-11-16 jrandom
* Minor logging update (toss net.i2p.router.JobQueueRunner=WARN in /configlogging.jsp to see wtf is hanging your router)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
$Id: history.txt,v 1.70 2004/11/13 04:43:35 jrandom Exp $
|
||||
$Id: history.txt,v 1.71 2004/11/15 09:35:18 jrandom Exp $
|
||||
|
||||
2004-11-16 jrandom
|
||||
* Minor logging update
|
||||
|
||||
2004-11-14 jrandom
|
||||
* Fix a long standing leak in I2PTunnel (hanging on to i2psocket objects)
|
||||
|
@ -436,8 +436,8 @@ public class JobQueue {
|
||||
_readyJobs.add(toAdd.get(i));
|
||||
_jobLock.notifyAll();
|
||||
} else {
|
||||
if (timeToWait < 100)
|
||||
timeToWait = 100;
|
||||
if (timeToWait < 10)
|
||||
timeToWait = 10;
|
||||
if (timeToWait > 10*1000)
|
||||
timeToWait = 10*1000;
|
||||
if (_log.shouldLog(Log.DEBUG))
|
||||
|
@ -98,6 +98,11 @@ class JobQueueRunner implements Runnable {
|
||||
|
||||
_state = 14;
|
||||
|
||||
|
||||
if ( (duration > 1000) && (_log.shouldLog(Log.WARN)) )
|
||||
_log.warn("Duration of " + duration + " (lag "+ (doStart-origStartAfter)
|
||||
+ ") on job " + _currentJob);
|
||||
|
||||
if (diff > 100) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Updating statistics for the job took too long [" + diff + "ms]");
|
||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.75 $ $Date: 2004/11/13 04:43:35 $";
|
||||
public final static String ID = "$Revision: 1.76 $ $Date: 2004/11/15 09:35:18 $";
|
||||
public final static String VERSION = "0.4.1.4";
|
||||
public final static long BUILD = 4;
|
||||
public final static long BUILD = 5;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
Reference in New Issue
Block a user