spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://nmg-kysb.mysql.rds.aliyuncs.com/yn_srp_system?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai
username: yhbj_yn
password: 'WpKJS2ZEx&35DrU'
redis:
# 超时时间
timeout: 10000ms
# 服务器地址
host: nmg-kysb.redis.rds.aliyuncs.com
# 服务器端口
port: 6379
# 数据库
database: 7
# 密码
password: yhbj_yn:WpKJS2ZEx&35DrU
lettuce:
pool:
# 最大连接数(默认8)
max-active: 1024
# 最大连接阻塞等待时间,默认-1
max-wait: 10000ms
# 最大空闲连接
max-idle: 200
# 最小空闲连接
min-idle: 5
-
徐俊 authored2bea434f