-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
why checking connection so frequently with druid? #2344
Comments
<properties>
<java.version>1.8</java.version>
<sharding-sphere.version>3.1.0</sharding-sphere.version>
</properties> |
Hi @e7, it looks like you use sharding-jdbc-spring-boot-starter 3.1.0, you can remove
|
@KomachiSion Thanks for replying, I have tried it, still not working |
Can you provide your full configuration or your example code to GitHub? |
Here is an example which can reproduce my problem.
|
OK, I find the reason for this problem. The problem caused by If you wanna to debug for this problem, you can set breakPoint in method So for ShardingSphere, it just execute a normal SQL called by spring health check. Not problems. |
@KomachiSion Yes, it's NOT a problem, thanks for your time and patience, and it can be disabled by the following configuration management:
health:
db:
enabled: false |
The text was updated successfully, but these errors were encountered: