mirror of
https://github.com/actiontech/dble.git
synced 2026-05-19 14:19:09 -05:00
@@ -80,7 +80,7 @@ public class MySQLDetector implements SQLQueryResultListener<SQLQueryResult<Map<
|
||||
}
|
||||
|
||||
public void heartbeat() {
|
||||
if (con == null) {
|
||||
if (con == null || con.isClosed()) {
|
||||
heartbeat.setResult(MySQLHeartbeat.ERROR_STATUS);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user