mirror of https://gitee.com/dromara/liteFlow
bug #IAIH89 在SQL插件多个数据源都能检测执行通过的情况下,有可能会出现连接泄露
This commit is contained in:
parent
61754746e0
commit
4c63076d4a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue