remove dbsource from cache

remove dbsource from cache
pull/7364/head
94464562 2024-10-19 11:49:27 +08:00 committed by GitHub
parent 48805484d4
commit b81435aaca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -106,9 +106,10 @@ public class DynamicDBUtil {
dataSource.getConnection().commit();
dataSource.getConnection().close();
dataSource.close();
DataSourceCachePool.removeCache(dbKey);
}
} catch (SQLException e) {
e.printStackTrace();
log.info(e.getMessage(), e);
}
}