This commit is contained in:
jrandom
2004-05-22 12:00:08 +00:00
committed by zzz
parent 6d2d9aed7e
commit 7a39d9240c

View File

@ -305,8 +305,9 @@ public class ClientConnectionRunner {
long after = _context.clock().now(); long after = _context.clock().now();
long lag = after - before; long lag = after - before;
if (lag > 300) { if (lag > 300) {
_log.error("synchronization on the i2cp message send took too long (" + lag if (_log.shouldLog(Log.WARN))
+ "ms): " + msg, new Exception("I2CP Lag")); _log.warn("synchronization on the i2cp message send took too long (" + lag
+ "ms): " + msg);
} }
} }
} }