I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d957712e authored by zzz's avatar zzz
Browse files

Change a common wtf error to a warn

parent 9233c2ed
No related branches found
No related tags found
No related merge requests found
...@@ -532,7 +532,8 @@ public class TunnelDispatcher implements Service { ...@@ -532,7 +532,8 @@ public class TunnelDispatcher implements Service {
long dispatchTime = _context.clock().now() - before; long dispatchTime = _context.clock().now() - before;
if (dispatchTime > 1000) { if (dispatchTime > 1000) {
_log.error("wtf, took " + dispatchTime + " to dispatch " + msg + " out " + outboundTunnel + " in " + gw); if (_log.shouldLog(Log.WARN))
_log.warn("wtf, took " + dispatchTime + " to dispatch " + msg + " out " + outboundTunnel + " in " + gw);
} }
if (gw instanceof TunnelGatewayZeroHop) if (gw instanceof TunnelGatewayZeroHop)
_context.statManager().addRateData("tunnel.dispatchOutboundZeroHopTime", dispatchTime, dispatchTime); _context.statManager().addRateData("tunnel.dispatchOutboundZeroHopTime", dispatchTime, dispatchTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment