forked from I2P_Developers/i2p.i2p
Change a common wtf error to a warn
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user