mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
!297 bug #IAIH89 在SQL插件多个数据源都能检测执行通过的情况下,有可能会出现连接泄露
Merge pull request !297 from 与或非/issues/IAIH89
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user