7311: Reduce timeout in PeerTaskRequestSender to 5s

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7628/head
Matilda Clerke 2 months ago
parent c335cbe00e
commit 08c66fd916
  1. 2
      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; import java.util.concurrent.TimeoutException;
public class PeerTaskRequestSender { 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; private final long timeoutMs;

Loading…
Cancel
Save