new debugging data point

This commit is contained in:
jrandom
2004-06-22 04:25:24 +00:00
committed by zzz
parent 5c3e815757
commit f1036df1f6

View File

@ -309,6 +309,8 @@ class TCPConnection implements I2NPMessageReader.I2NPMessageEventListener {
} }
if (slicesTooLong()) { if (slicesTooLong()) {
msg.timestamp("TCPTransport.addMessage noticed slices were taking too long");
if (_log.shouldLog(Log.ERROR)) { if (_log.shouldLog(Log.ERROR)) {
long sliceTime = _context.clock().now()-_lastSliceRun; long sliceTime = _context.clock().now()-_lastSliceRun;
_log.error("onAdd: Slices are taking too long (" + sliceTime _log.error("onAdd: Slices are taking too long (" + sliceTime