增加初始连接池大小
This commit is contained in:
@@ -9,7 +9,7 @@ spring:
|
|||||||
max-active: 30
|
max-active: 30
|
||||||
test-on-borrow: true
|
test-on-borrow: true
|
||||||
validation-query: SELECT 1
|
validation-query: SELECT 1
|
||||||
initial-size: 3
|
initial-size: 10
|
||||||
min-idle: 1
|
min-idle: 1
|
||||||
max-wait: 60000
|
max-wait: 60000
|
||||||
time-between-eviction-runs-millis: 60000
|
time-between-eviction-runs-millis: 60000
|
||||||
@@ -27,7 +27,7 @@ spring:
|
|||||||
max-active: 30
|
max-active: 30
|
||||||
test-on-borrow: true
|
test-on-borrow: true
|
||||||
validation-query: SELECT 1
|
validation-query: SELECT 1
|
||||||
initial-size: 3
|
initial-size: 10
|
||||||
min-idle: 1
|
min-idle: 1
|
||||||
max-wait: 60000
|
max-wait: 60000
|
||||||
time-between-eviction-runs-millis: 60000
|
time-between-eviction-runs-millis: 60000
|
||||||
|
|||||||
Reference in New Issue
Block a user