From bc25b16dcd81f1cbbf94c4ee0486d639f182485c Mon Sep 17 00:00:00 2001 From: Matilda Clerke Date: Thu, 26 Sep 2024 15:46:58 +1000 Subject: [PATCH] 7311: rename timing context to ignored to prevent intellij warnings Signed-off-by: Matilda Clerke --- .../besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java index bab1a1f0bd..fa375d0b62 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskExecutor.java @@ -97,7 +97,7 @@ public class PeerTaskExecutor { try { T result; - try (final OperationTimer.TimingContext timingContext = + try (final OperationTimer.TimingContext ignored = requestTimer.labels(peerTask.getClass().getSimpleName()).startTimer()) { MessageData responseMessageData = requestSender.sendRequest(peerTask.getSubProtocol(), requestMessageData, peer);