【更新】配置数据库连接池心跳检测validation-query属性

【更新】配置数据库连接池心跳检测validation-query属性

Signed-off-by: bubu <8096927+bubu-space@user.noreply.gitee.com>
pull/256/head
bubu 2025-04-24 07:07:33 +00:00 committed by Gitee
parent 6539b501ee
commit ef2beded1e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ spring:
test-on-borrow: false
test-on-return: false
test-while-idle: true
validation-query: SELECT 1
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
filters: stat