You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2022/08/08 12:08:34 UTC
[iotdb] branch ml_0808_test_exp1_parallel updated: change batch size to 30 and queue size to 300
This is an automated email from the ASF dual-hosted git repository.
xingtanzjr pushed a commit to branch ml_0808_test_exp1_parallel
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ml_0808_test_exp1_parallel by this push:
new b9000512e2 change batch size to 30 and queue size to 300
b9000512e2 is described below
commit b9000512e2bf9951edce0c7d3cbec5d41f5f27c8
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Mon Aug 8 20:08:17 2022 +0800
change batch size to 30 and queue size to 300
---
.../java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java b/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
index fa6b9db6a5..d95dbe530e 100644
--- a/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
+++ b/consensus/src/main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java
@@ -247,8 +247,8 @@ public class MultiLeaderConfig {
}
public static class Builder {
- private int maxPendingRequestNumPerNode = 1000;
- private int maxRequestPerBatch = 40;
+ private int maxPendingRequestNumPerNode = 300;
+ private int maxRequestPerBatch = 30;
private int maxPendingBatch = 5;
private int maxWaitingTimeForAccumulatingBatchInMs = 500;
private long basicRetryWaitTimeMs = TimeUnit.MILLISECONDS.toMillis(100);