!297 bug #IAIH89 在SQL插件多个数据源都能检测执行通过的情况下,有可能会出现连接泄露

Merge pull request !297 from 与或非/issues/IAIH89
This commit is contained in:
铂赛东
2024-08-07 07:44:49 +00:00
committed by Gitee

View File

@@ -41,6 +41,7 @@ public class LiteFlowJdbcUtil {
if (checkConnectionCanExecuteSql(dataSource.getConnection(), executeSql)) {
connection = dataSource.getConnection();
LOG.info("use dataSourceName[{}],has found liteflow config", dataSourceName);
break;
} else {
LOG.info("check dataSourceName[{}],but not has liteflow config", dataSourceName);
}