File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 11# SpringBootGenerator(SpringBoot1.5版)
22
3- > SpringBoot1.5版(SpringBoot2.0版切换主分支 (master))
3+ > SpringBoot1.5版(SpringBoot2.1版切换主分支 (master))
44> 参考:[ https://github.com/lihengming/spring-boot-api-project-seed ] ( https://github.com/lihengming/spring-boot-api-project-seed )
55
66### 项目相关
Original file line number Diff line number Diff line change @@ -9,19 +9,20 @@ spring:
99 datasource :
1010 type : com.alibaba.druid.pool.DruidDataSource
1111 driver-class-name : com.mysql.jdbc.Driver
12- filters : stat
13- maxActive : 20
14- initialSize : 1
15- maxWait : 60000
16- minIdle : 1
17- timeBetweenEvictionRunsMillis : 60000
18- minEvictableIdleTimeMillis : 300000
19- validationQuery : select 'x'
20- testWhileIdle : true
21- testOnBorrow : false
22- testOnReturn : false
23- poolPreparedStatements : true
24- maxOpenPreparedStatements : 20
12+ druid :
13+ filters : stat
14+ maxActive : 20
15+ initialSize : 1
16+ maxWait : 60000
17+ minIdle : 1
18+ timeBetweenEvictionRunsMillis : 60000
19+ minEvictableIdleTimeMillis : 300000
20+ validationQuery : select 'x'
21+ testWhileIdle : true
22+ testOnBorrow : false
23+ testOnReturn : false
24+ poolPreparedStatements : true
25+ maxOpenPreparedStatements : 20
2526 # 404交给异常处理器处理
2627 mvc :
2728 throw-exception-if-no-handler-found : true
You can’t perform that action at this time.
0 commit comments