mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
perf(database): 优化数据库连接池配置
- 将 test-on-return 参数从 true 修改为 false,减少数据库查询次数 - 此修改旨在提高数据库连接池的性能和效率
This commit is contained in:
@@ -85,7 +85,7 @@ spring:
|
||||
validation-query: "select 1"
|
||||
validation-query-timeout: 1000
|
||||
test-on-borrow: true
|
||||
test-on-return: true
|
||||
test-on-return: false
|
||||
enable: true
|
||||
task:
|
||||
execution:
|
||||
|
||||
Reference in New Issue
Block a user