This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch Fix-configuration-error
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/Fix-configuration-error by
this push:
new a42307af66 Update LoadManager.java
a42307af66 is described below
commit a42307af66728a691314cb1f6dd18d391bd3ff01
Author: YongzaoDan <[email protected]>
AuthorDate: Tue Jan 17 21:56:50 2023 +0800
Update LoadManager.java
---
.../java/org/apache/iotdb/confignode/manager/load/LoadManager.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java
b/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java
index b23d2fa11f..e0a6b00261 100644
---
a/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java
+++
b/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java
@@ -78,8 +78,9 @@ public class LoadManager {
private static final Logger LOGGER =
LoggerFactory.getLogger(LoadManager.class);
- private static final ConfigNodeConfig CONF =
ConfigNodeDescriptor.getInstance().getConf();
- private static final long HEARTBEAT_INTERVAL =
CONF.getHeartbeatIntervalInMs();
+ private static final ConfigNodeConfig CONFIG_NODE_CONFIG =
+ ConfigNodeDescriptor.getInstance().getConf();
+ private static final long HEARTBEAT_INTERVAL =
CONFIG_NODE_CONFIG.getHeartbeatIntervalInMs();
private final IManager configManager;