You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
server: |
|
port: 8080 |
|
spring: |
|
cache: |
|
type: redis |
|
profiles: |
|
active: @profiles.active@ |
|
# active: dev |
|
datasource: |
|
dynamic: |
|
primary: master |
|
data: |
|
redis: |
|
# 数据库索引 |
|
database: 1 |
|
# 连接超时时间 |
|
timeout: 10s |
|
|
|
jackson: |
|
time-zone: Asia/Shanghai |
|
servlet: |
|
multipart: |
|
max-file-size: 100MB |
|
max-request-size: 100MB |
|
|
|
mybatis-plus: |
|
# 对应的 XML 文件位置 |
|
mapper-locations: classpath*:mapper/*Mapper.xml |
|
|
|
fdfs: |
|
soTimeout: 60000 # socket连接超时时长 |
|
connectTimeout: 5000 # 连接tracker服务器超时时长 |
|
|
|
pool: |
|
#从池中借出的对象的最大数目(配置为-1表示不限制) |
|
max-total: 100 |
|
#获取连接时的最大等待毫秒数(默认配置为5秒) |
|
max-wait-millis: 5000 |
|
#每个key最大连接数 |
|
max-total-per-key: 50 |
|
#每个key对应的连接池最大空闲连接数 |
|
max-idle-per-key: 10 |
|
#每个key对应的连接池最小空闲连接数 |
|
min-idle-per-key: 5 |
|
|
|
knife4j: |
|
setting: |
|
language: zh_cn |
|
|
|
token: |
|
timeout: 168 # 7 * 24 小时 |
|
mailbox: |
|
url: |