Skip to content

Commit e243883

Browse files
committed
fix
Signed-off-by: Weihao Li <[email protected]>
1 parent 94461b0 commit e243883

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,6 +2034,12 @@ public synchronized void loadHotModifiedProps(TrimProperties properties)
20342034
properties.getProperty(
20352035
"slow_query_threshold",
20362036
ConfigurationFileUtils.getConfigurationDefaultValue("slow_query_threshold"))));
2037+
// update query_cost_stat_window
2038+
conf.setQueryCostStatWindow(
2039+
Integer.parseInt(
2040+
properties.getProperty(
2041+
"query_cost_stat_window",
2042+
ConfigurationFileUtils.getConfigurationDefaultValue("query_cost_stat_window"))));
20372043
// update select into operation max buffer size
20382044
conf.setIntoOperationBufferSizeInByte(
20392045
Long.parseLong(

0 commit comments

Comments
 (0)