File tree Expand file tree Collapse file tree
eladmin-system/src/main/resources/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ spring:
1616 # 获取连接超时时间
1717 max-wait : 5000
1818 # 连接有效性检测时间
19- time-between-eviction-runs-millis : 60000
19+ time-between-eviction-runs-millis : 1800000
2020 # 连接在池中最小生存的时间
21- min-evictable-idle-time-millis : 300000
22- # 连接在池中最大生存的时间
23- max-evictable-idle-time-millis : 900000
24- test-while-idle : true
25- test-on-borrow : false
21+ min-evictable-idle-time-millis : 1800000
22+ test-while-idle : false
23+ test-on-borrow : true
2624 test-on-return : false
2725 # 检测连接是否有效
2826 validation-query : select 1
Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ spring:
1616 # 获取连接超时时间
1717 max-wait : 5000
1818 # 连接有效性检测时间
19- time-between-eviction-runs-millis : 60000
19+ time-between-eviction-runs-millis : 1800000
2020 # 连接在池中最小生存的时间
21- min-evictable-idle-time-millis : 300000
22- # 连接在池中最大生存的时间
23- max-evictable-idle-time-millis : 900000
24- test-while-idle : true
25- test-on-borrow : false
21+ min-evictable-idle-time-millis : 1800000
22+ test-while-idle : false
23+ test-on-borrow : true
2624 test-on-return : false
2725 # 检测连接是否有效
2826 validation-query : select 1
You can’t perform that action at this time.
0 commit comments