2006-04-01 jrandom
* Take out the router watchdog's teeth (don't restart on leaseset failure)
This commit is contained in:
@ -1,4 +1,7 @@
|
|||||||
$Id: history.txt,v 1.440 2006/03/26 18:23:54 jrandom Exp $
|
$Id: history.txt,v 1.441 2006/03/30 02:26:43 jrandom Exp $
|
||||||
|
|
||||||
|
2006-04-01 jrandom
|
||||||
|
* Take out the router watchdog's teeth (don't restart on leaseset failure)
|
||||||
|
|
||||||
2006-03-30 jrandom
|
2006-03-30 jrandom
|
||||||
* Substantially reduced the lock contention in the message registry (a
|
* Substantially reduced the lock contention in the message registry (a
|
||||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.381 $ $Date: 2006/03/26 18:23:52 $";
|
public final static String ID = "$Revision: 1.382 $ $Date: 2006/03/30 02:26:49 $";
|
||||||
public final static String VERSION = "0.6.1.13";
|
public final static String VERSION = "0.6.1.13";
|
||||||
public final static long BUILD = 1;
|
public final static long BUILD = 2;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
@ -47,7 +47,7 @@ class RouterWatchdog implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean shutdownOnHang() {
|
private boolean shutdownOnHang() {
|
||||||
return Boolean.valueOf(_context.getProperty("watchdog.haltOnHang", "true")).booleanValue();
|
return Boolean.valueOf(_context.getProperty("watchdog.haltOnHang", "false")).booleanValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dumpStatus() {
|
private void dumpStatus() {
|
||||||
|
@ -131,8 +131,8 @@ class OutboundClientMessageJobHelper {
|
|||||||
TunnelId replyToTunnelId = null; // tunnel id on that gateway
|
TunnelId replyToTunnelId = null; // tunnel id on that gateway
|
||||||
|
|
||||||
if (replyToTunnel == null) {
|
if (replyToTunnel == null) {
|
||||||
if (log.shouldLog(Log.ERROR))
|
if (log.shouldLog(Log.WARN))
|
||||||
log.error("Unable to send client message from " + from.toBase64()
|
log.warn("Unable to send client message from " + from.toBase64()
|
||||||
+ ", as there are no inbound tunnels available");
|
+ ", as there are no inbound tunnels available");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -213,8 +213,8 @@ public class OutboundClientMessageOneShotJob extends JobImpl {
|
|||||||
if (ok) {
|
if (ok) {
|
||||||
send();
|
send();
|
||||||
} else {
|
} else {
|
||||||
if (_log.shouldLog(Log.ERROR))
|
if (_log.shouldLog(Log.WARN))
|
||||||
_log.error("Unable to send on a random lease, as getNext returned null (to=" + _toString + ")");
|
_log.warn("Unable to send on a random lease, as getNext returned null (to=" + _toString + ")");
|
||||||
dieFatal();
|
dieFatal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user