Commit 2e8546ac authored by 赵啸非's avatar 赵啸非

修改线程初始化数量

parent 937f20f3
......@@ -64,15 +64,16 @@ spring:
exceptiontranslation:
enabled: false
datasource:
druid:
connect-timeout: 30000
socket-timeout: 60000
type: com.alibaba.druid.pool.DruidDataSource
#driver-class-name: com.p6spy.engine.spy.P6SpyDriver
driver-class-name: com.mysql.cj.jdbc.Driver
url: @profiles.datasource.uri@
username: @profiles.datasource.username@
password: @profiles.datasource.password@
initial-size: 10
min-idle: 10
max-active: 20
# 配置获取连接等待超时的时间
max-wait: 60000
mybatis:
root-path: com.mortals
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment