Skip to content

Commit 0e71ecc

Browse files
zengqiaoZQKC
authored andcommitted
延长健康检查结果过期时间
1 parent 0f11a65 commit 0e71ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

km-task/src/main/java/com/xiaojukeji/know/streaming/km/task/health/AbstractHealthCheckTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private TaskResult calAndUpdateHealthCheckResult(ClusterPhy clusterPhy, long tri
6060

6161
// 删除10分钟之前的检查结果
6262
try {
63-
healthCheckResultService.deleteByUpdateTimeBeforeInDB(clusterPhy.getId(), new Date(triggerTimeUnitMs - 10 * 60 * 1000));
63+
healthCheckResultService.deleteByUpdateTimeBeforeInDB(clusterPhy.getId(), new Date(triggerTimeUnitMs - 20 * 60 * 1000));
6464
} catch (Exception e) {
6565
log.error("class=AbstractHealthCheckTask||method=processSubTask||clusterPhyId={}||errMsg=exception!", clusterPhy.getId(), e);
6666
}

0 commit comments

Comments
 (0)