forked from I2P_Developers/i2p.i2p
Tunnels: Remove 2nd arg on TestJob failure stats
This commit is contained in:
@@ -195,9 +195,9 @@ class TestJob extends JobImpl {
|
||||
noteSuccess(timeToFail, _replyTunnel);
|
||||
}
|
||||
if (_pool.getSettings().isExploratory())
|
||||
getContext().statManager().addRateData("tunnel.testExploratoryFailedTime", timeToFail, timeToFail);
|
||||
getContext().statManager().addRateData("tunnel.testExploratoryFailedTime", timeToFail);
|
||||
else
|
||||
getContext().statManager().addRateData("tunnel.testFailedTime", timeToFail, timeToFail);
|
||||
getContext().statManager().addRateData("tunnel.testFailedTime", timeToFail);
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Tunnel test #" + _id + " failed in " + timeToFail + "ms: " + _cfg);
|
||||
boolean keepGoing = _cfg.tunnelFailed();
|
||||
@@ -208,9 +208,9 @@ class TestJob extends JobImpl {
|
||||
scheduleRetest(true);
|
||||
} else {
|
||||
if (_pool.getSettings().isExploratory())
|
||||
getContext().statManager().addRateData("tunnel.testExploratoryFailedCompletelyTime", timeToFail, timeToFail);
|
||||
getContext().statManager().addRateData("tunnel.testExploratoryFailedCompletelyTime", timeToFail);
|
||||
else
|
||||
getContext().statManager().addRateData("tunnel.testFailedCompletelyTime", timeToFail, timeToFail);
|
||||
getContext().statManager().addRateData("tunnel.testFailedCompletelyTime", timeToFail);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user