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 09:11:39 UTC

[iotdb] branch ml_0808_test_exp1_parallel updated: change queue size to 1000 for dispatching

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 5ec44376af change queue size to 1000 for dispatching
5ec44376af is described below

commit 5ec44376af246014c21ce744967ee1a87c9ed976
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Mon Aug 8 17:11:23 2022 +0800

    change queue size to 1000 for dispatching
---
 .../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..fa6b9db6a5 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 = 1000;
       private int maxRequestPerBatch = 40;
       private int maxPendingBatch = 5;
       private int maxWaitingTimeForAccumulatingBatchInMs = 500;