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/02 07:32:06 UTC
[iotdb] branch ml_0729_test_exp1 updated: change queue size from 200 to 1
This is an automated email from the ASF dual-hosted git repository.
xingtanzjr pushed a commit to branch ml_0729_test_exp1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ml_0729_test_exp1 by this push:
new 525a8f4fd9 change queue size from 200 to 1
525a8f4fd9 is described below
commit 525a8f4fd983336839b145b7bfb81d59ffacdc3b
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Tue Aug 2 15:31:54 2022 +0800
change queue size from 200 to 1
---
.../main/java/org/apache/iotdb/consensus/config/MultiLeaderConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 1a9b4dac9f..c83728f47f 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,7 +247,7 @@ public class MultiLeaderConfig {
}
public static class Builder {
- private int maxPendingRequestNumPerNode = 200;
+ private int maxPendingRequestNumPerNode = 1;
private int maxRequestPerBatch = 40;
private int maxPendingBatch = 5;
private int maxWaitingTimeForAccumulatingBatchInMs = 500;