From c68c60b9dfbd15b376f38f17cfc2bfeb4b6016b9 Mon Sep 17 00:00:00 2001 From: ylinzhu <46126022+ylinzhu@users.noreply.github.com> Date: Tue, 27 Dec 2022 13:50:51 +0800 Subject: [PATCH] fix Initialization status shows error (#3572) --- .../actiontech/dble/backend/delyDetection/DelayDetection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/actiontech/dble/backend/delyDetection/DelayDetection.java b/src/main/java/com/actiontech/dble/backend/delyDetection/DelayDetection.java index ee4283584d..be9b4bed76 100644 --- a/src/main/java/com/actiontech/dble/backend/delyDetection/DelayDetection.java +++ b/src/main/java/com/actiontech/dble/backend/delyDetection/DelayDetection.java @@ -63,6 +63,7 @@ public DelayDetection(PhysicalDbInstance source) { delayThreshold = dbGroupConfig.getDelayThreshold(); delayPeriodMillis = dbGroupConfig.getDelayPeriodMillis(); delayDetectionStatus = DelayDetectionStatus.INIT; + source.setDelayDetectionStatus(delayDetectionStatus); delayDetectionTask = new DelayDetectionTask(this); synSql(); }