Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题描述: #664
主要问题是因为在获取数据源连接时, 默认全部是使用缓存
修复方法: 数据源测试不使用缓存, 其他情况照常使用缓存, 解决方法如下:
添加isCache字段, 默认为true, 表示使用缓存
在获取数据源连接时添加判断, 因为有默认值的存在, 所以其他方法获取数据源连接时和之前时一样的
修改数据源连接为不从缓存中获取