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/01 13:08:56 UTC

[iotdb] branch ml_0729_test_exp1 updated: change queue size to 0

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 3673d4cb86 change queue size to 0
3673d4cb86 is described below

commit 3673d4cb86a7f3fa8aa637b89549790ed95c3ef0
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Mon Aug 1 21:08:38 2022 +0800

    change queue size to 0
---
 .../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 9d4665e4d4..c16d65f842 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
@@ -248,7 +248,7 @@ public class MultiLeaderConfig {
 
     public static class Builder {
       private int maxPendingRequestNumPerNode = 200;
-      private int maxRequestPerBatch = 40;
+      private int maxRequestPerBatch = 0;
       private int maxPendingBatch = 5;
       private int maxWaitingTimeForAccumulatingBatchInMs = 500;
       private long basicRetryWaitTimeMs = TimeUnit.MILLISECONDS.toMillis(100);