From fce07b0749495124188ceb17cb67a5efdc62f67f Mon Sep 17 00:00:00 2001 From: huangli Date: Mon, 24 Jun 2024 20:55:16 +0800 Subject: [PATCH] chore: change timeout to 2500 --- .../com/github/dtprj/dongting/bench/raft/RaftBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/src/main/java/com/github/dtprj/dongting/bench/raft/RaftBenchmark.java b/benchmark/src/main/java/com/github/dtprj/dongting/bench/raft/RaftBenchmark.java index 0f2a274eb..421ecd3ca 100644 --- a/benchmark/src/main/java/com/github/dtprj/dongting/bench/raft/RaftBenchmark.java +++ b/benchmark/src/main/java/com/github/dtprj/dongting/bench/raft/RaftBenchmark.java @@ -205,7 +205,7 @@ public void test(int threadIndex, long startTime, int state) { try { int k = Integer.reverse((int) startTime); k = Math.abs(k % KEYS); - final DtTime timeout = new DtTime(800, TimeUnit.MILLISECONDS); + final DtTime timeout = new DtTime(2500, TimeUnit.MILLISECONDS); CompletableFuture f = clients[threadIndex].put(GROUP_ID, String.valueOf(k), DATA, timeout); if (SYNC) {