redis操作api工具类

This commit is contained in:
79493 2022-10-18 11:43:48 +08:00
parent 2ff58b20ee
commit 69eef85a78

View File

@ -7,6 +7,21 @@ spring:
enabled: true
max-file-size: 50MB
max-request-size: 100MB
redis:
host: 42.193.40.239
Auth: redis@rzyc123456
# 进入哨兵项目-这个端口就不用了,除非是单体
# port: 6379
sentinel:
master: mymaster
nodes: 42.193.40.239:26379,42.193.40.239:26380,42.193.40.239:26381
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: 100
shutdown-timeout: 50000
mvc:
view:
prefix: classpath:/templates/