mirror of
https://github.com/201206030/novel.git
synced 2025-06-24 08:06:39 +00:00
设置restTemplate连接池大小,解决连接池不足的问题
This commit is contained in:
@ -36,8 +36,8 @@ spring:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
username: books
|
||||
password: books
|
||||
username: root
|
||||
password: test123456
|
||||
#password:
|
||||
initialSize: 1
|
||||
minIdle: 3
|
||||
|
Reference in New Issue
Block a user