(not yet tagging this 0.5, but I don't think there's anytihng left)
2005-02-17 jrandom * If the clock is adjusted during a job run, don't act as if the job took negative time.
This commit is contained in:
@ -499,6 +499,9 @@ public class JobQueue {
|
||||
MessageHistory hist = _context.messageHistory();
|
||||
long uptime = _context.router().getUptime();
|
||||
|
||||
if (lag < 0) lag = 0;
|
||||
if (duration < 0) duration = 0;
|
||||
|
||||
JobStats stats = null;
|
||||
if (!_jobStats.containsKey(key)) {
|
||||
_jobStats.put(key, new JobStats(key));
|
||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.140 $ $Date: 2005/02/16 23:08:35 $";
|
||||
public final static String VERSION = "0.5-pre";
|
||||
public final static long BUILD = 14;
|
||||
public final static String ID = "$Revision: 1.141 $ $Date: 2005/02/17 12:59:28 $";
|
||||
public final static String VERSION = "0.5";
|
||||
public final static long BUILD = 0;
|
||||
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