From 83b959c4a1ab9b7596b2eeeded4f13679556ed03 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Fri, 3 Dec 2021 05:51:56 -0500 Subject: [PATCH] Tunnels: Remove 2nd arg on TestJob failure stats --- router/java/src/net/i2p/router/tunnel/pool/TestJob.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/router/java/src/net/i2p/router/tunnel/pool/TestJob.java b/router/java/src/net/i2p/router/tunnel/pool/TestJob.java index f991aecca9..a9e31f4523 100644 --- a/router/java/src/net/i2p/router/tunnel/pool/TestJob.java +++ b/router/java/src/net/i2p/router/tunnel/pool/TestJob.java @@ -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); } } -- GitLab