You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/11/25 09:16:20 UTC
[iotdb] 01/04: revert queryThreadCount in IoTDBConfig
This is an automated email from the ASF dual-hosted git repository.
hui pushed a commit to branch lmh/FixIntoOperator
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit a8decd1ea3372b23bae5a106826baa247ed20389
Author: liuminghui233 <54...@qq.com>
AuthorDate: Fri Nov 25 12:27:27 2022 +0800
revert queryThreadCount in IoTDBConfig
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 6f84eb6608..b76e8a02b1 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -310,7 +310,7 @@ public class IoTDBConfig {
private int flushThreadCount = Runtime.getRuntime().availableProcessors();
/** How many threads can concurrently execute query statement. When <= 0, use CPU core number. */
- private int queryThreadCount = Math.max(4, Runtime.getRuntime().availableProcessors());
+ private int queryThreadCount = Runtime.getRuntime().availableProcessors();
/** How many queries can be concurrently executed. When <= 0, use 1000. */
private int maxAllowedConcurrentQueries = 1000;