This is an automated email from the ASF dual-hosted git repository.
spricoder pushed a commit to branch feature/memory_auto
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/feature/memory_auto by this
push:
new 7d07a86acfc Fix auto
7d07a86acfc is described below
commit 7d07a86acfce38406690d4e98271bc01b42222b2
Author: spricoder <[email protected]>
AuthorDate: Sat Feb 22 14:41:30 2025 +0800
Fix auto
---
.../java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
index a6ec5f343aa..bcbde93aabe 100644
---
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
+++
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
@@ -49,11 +49,9 @@ public class MemoryRuntimeAgent implements IService {
public void start() throws StartupException {
memoryPeriodicalJobExecutor.start();
- LOGGER.info(
- "{} Enable automatic memory transfer with an interval of {} s",
- ENABLE_MEMORY_TRANSFER,
- MEMORY_CHECK_INTERVAL_IN_S);
if (ENABLE_MEMORY_TRANSFER) {
+ LOGGER.info(
+ "Enable automatic memory transfer with an interval of {} s",
MEMORY_CHECK_INTERVAL_IN_S);
MemoryRuntimeAgent.getInstance()
.registerPeriodicalJob(
"GlobalMemoryManager#updateAllocate()",