This is an automated email from the ASF dual-hosted git repository. hui pushed a commit to branch ml/windowSet in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 05c43e08140ceeb83d13916f0ceb48a431e10d9b Author: liuminghui233 <[email protected]> AuthorDate: Mon Nov 21 16:47:45 2022 +0800 fix compiler error --- .../org/apache/iotdb/db/service/thrift/impl/ClientRPCServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/ClientRPCServiceImpl.java b/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/ClientRPCServiceImpl.java index 10408a935c..01806832c4 100644 --- a/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/ClientRPCServiceImpl.java +++ b/server/src/main/java/org/apache/iotdb/db/service/thrift/impl/ClientRPCServiceImpl.java @@ -496,7 +496,7 @@ public class ClientRPCServiceImpl implements IClientRPCServiceWithHandler { } finally { addOperationLatency(Operation.EXECUTE_QUERY, startTime); long costTime = System.currentTimeMillis() - startTime; - if (costTime >= CONFIG.getSlowQueryThreshold()) { + if (costTime >= config.getSlowQueryThreshold()) { SLOW_SQL_LOGGER.info("Cost: {} ms, sql is {}", costTime, req); } } @@ -553,7 +553,7 @@ public class ClientRPCServiceImpl implements IClientRPCServiceWithHandler { } finally { addOperationLatency(Operation.EXECUTE_QUERY, startTime); long costTime = System.currentTimeMillis() - startTime; - if (costTime >= CONFIG.getSlowQueryThreshold()) { + if (costTime >= config.getSlowQueryThreshold()) { SLOW_SQL_LOGGER.info("Cost: {} ms, sql is {}", costTime, req); } }
