This is an automated email from the ASF dual-hosted git repository.

tanxinyu pushed a commit to branch cp_increase_clientmanager_upper_bound
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d39ee46289ce5d888536871de552c83e7a436519
Author: OneSizeFitQuorum <[email protected]>
AuthorDate: Thu Dec 5 17:11:23 2024 +0800

    finish
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
---
 .../src/assembly/resources/conf/iotdb-system.properties.template      | 4 ++--
 .../org/apache/iotdb/commons/client/property/ClientPoolProperty.java  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
index 3e14cc55b9f..3bf573d164b 100644
--- 
a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
+++ 
b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
@@ -442,7 +442,7 @@ cn_selector_thread_nums_of_client_manager=1
 # for a while, then ClientManager will throw ClientManagerException if there 
are no clients after the block time.
 # effectiveMode: restart
 # Datatype: int
-cn_max_client_count_for_each_node_in_client_manager=300
+cn_max_client_count_for_each_node_in_client_manager=1000
 
 # The maximum session idle time. unit: ms
 # Idle sessions are the ones that performs neither query or non-query 
operations for a period of time
@@ -502,7 +502,7 @@ dn_selector_thread_count_of_client_manager=1
 # for a while, then ClientManager will throw ClientManagerException if there 
are no clients after the block time.
 # effectiveMode: restart
 # Datatype: int
-dn_max_client_count_for_each_node_in_client_manager=300
+dn_max_client_count_for_each_node_in_client_manager=1000
 
 ####################
 ### REST Service Configuration
diff --git 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/property/ClientPoolProperty.java
 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/property/ClientPoolProperty.java
index c4cd930ec00..5bb7c22ee49 100644
--- 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/property/ClientPoolProperty.java
+++ 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/client/property/ClientPoolProperty.java
@@ -101,9 +101,9 @@ public class ClientPoolProperty<V> {
 
     private DefaultProperty() {}
 
-    public static final long WAIT_CLIENT_TIMEOUT_MS = 
TimeUnit.SECONDS.toMillis(10);
+    public static final long WAIT_CLIENT_TIMEOUT_MS = 
TimeUnit.SECONDS.toMillis(30);
     public static final long MIN_IDLE_TIME_FOR_CLIENT_MS = 
TimeUnit.MINUTES.toMillis(1);
     public static final long TIME_BETWEEN_EVICTION_RUNS_MS = 
TimeUnit.MINUTES.toMillis(1);
-    public static final int MAX_CLIENT_NUM_FOR_EACH_NODE = 300;
+    public static final int MAX_CLIENT_NUM_FOR_EACH_NODE = 1000;
   }
 }

Reply via email to