redisson版本修改

This commit is contained in:
zhangzhiqiang
2023-01-17 11:31:56 +08:00
parent d39e1d42a6
commit 3c0558068f
3 changed files with 24 additions and 37 deletions

View File

@@ -70,23 +70,16 @@ spring:
port: ${REDIS_PORT:6379}
#连接超时时间
timeout: 5000
redisson:
# redis key前缀
keyPrefix:
# 线程池数量
threads: 4
# Netty线程池数量
nettyThreads: 8
# 单节点配置
singleServerConfig:
# 最小空闲连接数
connectionMinimumIdleSize: 8
# 连接池大小
connectionPoolSize: 32
# 连接空闲超时,单位:毫秒
idleConnectionTimeout: 10000
# 命令等待超时,单位:毫秒
timeout: 3000
redisson:
config: |
threads: 4
nettyThreads: 4
singleServerConfig:
connectionMinimumIdleSize: 8
connectionPoolSize: 8
address: redis://10.16.1.25:6379
idleConnectionTimeout: 10000
timeout: 3000
# 登录相关配置
login:
# 登录缓存
@@ -164,4 +157,4 @@ file:
logging:
file:
path: /app/jar/logs
config: classpath:logback-spring.xml
config: classpath:logback-spring.xml