123456789101112131415161718192021222324252627282930313233343536 |
- server:
- port: 8088
- spring:
- datasource:
- url: jdbc:mysql://localhost:3306/prod_test?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
- username: root
- password: 914851221
- initialSize: 10 #初始化连接数D
- minIdle: 10 #最小空闲连接数
- max-active: 100 #最大连接数
- maxWait: 60000 #最大等待时间ms(获取不到连接后多久超时)
- hikari:
- minimum-idle: 5
- maximum-pool-size: 200
- connection-timeout: 30000
- idle-timeout: 600000
- max-lifetime: 1800000
- dfs:
- path: /opt/dfs
- domain: /dfs
- advice:
- file:
- tmp: tmp
- #系统配置
- system:
- login:
- error-limit:
- lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟
|