From 08c66fd916e7e0ddc8d3a6870416503eafb4fc0f Mon Sep 17 00:00:00 2001 From: Matilda Clerke Date: Fri, 20 Sep 2024 14:49:41 +1000 Subject: [PATCH] 7311: Reduce timeout in PeerTaskRequestSender to 5s Signed-off-by: Matilda Clerke --- .../ethereum/eth/manager/peertask/PeerTaskRequestSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskRequestSender.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskRequestSender.java index 9d9ceed321..77ff5e7251 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskRequestSender.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/PeerTaskRequestSender.java @@ -25,7 +25,7 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; public class PeerTaskRequestSender { - private static final long DEFAULT_TIMEOUT_MS = 20_000; + private static final long DEFAULT_TIMEOUT_MS = 5_000; private final long timeoutMs;