You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "gong (via GitHub)" <gi...@apache.org> on 2023/06/09 09:30:26 UTC

[GitHub] [inlong] gong commented on a diff in pull request #8207: [INLONG-8199][Manager] Supports get brief information of inlong stream

gong commented on code in PR #8207:
URL: https://github.com/apache/inlong/pull/8207#discussion_r1224078301


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/heartbeat/HeartbeatManager.java:
##########
@@ -231,7 +231,8 @@ private void evictClusterNode(HeartbeatMsg heartbeat) {
         // heartbeatInterval() is the reporting interval of cluster nodes, multiplied by two to prevent network
         // fluctuations
         ComponentHeartbeatEntity componentHeartbeatEntity = componentHeartbeatMapper.selectTimeOutHeartBeat(
-                componentHeartbeat.getComponentType(), componentHeartbeat.getIp(), heartbeatInterval() * 2L);
+                componentHeartbeat.getComponentType(), componentHeartbeat.getIp(),
+                heartbeatInterval() * heartbeatIntervalFactor);

Review Comment:
   It is not relative with PR description



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org