Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 测试数据源连接不使用缓存,解决#664 #665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devbiu
Copy link

@devbiu devbiu commented Jun 2, 2024

问题描述: #664
主要问题是因为在获取数据源连接时, 默认全部是使用缓存
image
修复方法: 数据源测试不使用缓存, 其他情况照常使用缓存, 解决方法如下:

  1. 添加isCache字段, 默认为true, 表示使用缓存
    image

  2. 在获取数据源连接时添加判断, 因为有默认值的存在, 所以其他方法获取数据源连接时和之前时一样的
    image

  3. 修改数据源连接为不从缓存中获取
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant