diff --git a/src/main/java/com/actiontech/dble/backend/datasource/PhysicalDbInstance.java b/src/main/java/com/actiontech/dble/backend/datasource/PhysicalDbInstance.java index 4b967ddaed..01cfa7a938 100644 --- a/src/main/java/com/actiontech/dble/backend/datasource/PhysicalDbInstance.java +++ b/src/main/java/com/actiontech/dble/backend/datasource/PhysicalDbInstance.java @@ -391,7 +391,7 @@ boolean canSelectAsReadNode() { return false; } boolean isSync = dbSynStatus == MySQLHeartbeat.DB_SYN_NORMAL; - boolean isNotDelay = slaveBehindMaster <= this.dbGroupConfig.getDelayThreshold(); + boolean isNotDelay = slaveBehindMaster <= (this.dbGroupConfig.getDelayThreshold() / 1000); return isSync && isNotDelay; }