redisson版本修改
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.redisson</groupId>
|
<groupId>org.redisson</groupId>
|
||||||
<artifactId>redisson-spring-boot-starter</artifactId>
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
||||||
<version>3.12.3</version>
|
<version>3.19.1</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
|||||||
@@ -70,30 +70,24 @@ spring:
|
|||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
redis:
|
redis:
|
||||||
#数据库索引
|
#数据库索引
|
||||||
database: 1
|
database: 2
|
||||||
# Redis服务器地址
|
# Redis服务器地址
|
||||||
host: 47.96.133.178
|
host: 47.96.133.178
|
||||||
# Redis服务器连接端口
|
# Redis服务器连接端口
|
||||||
port: 6479
|
port: 6479
|
||||||
# Redis服务器连接密码(默认为空)
|
# Redis服务器连接密码(默认为空)
|
||||||
password: 942464Yy
|
password: 942464Yy
|
||||||
redisson:
|
redisson:
|
||||||
# redis key前缀
|
config: |
|
||||||
keyPrefix:
|
threads: 4
|
||||||
# 线程池数量
|
nettyThreads: 4
|
||||||
threads: 4
|
singleServerConfig:
|
||||||
# Netty线程池数量
|
connectionMinimumIdleSize: 8
|
||||||
nettyThreads: 8
|
connectionPoolSize: 8
|
||||||
# 单节点配置
|
address: redis://47.96.133.178:6479
|
||||||
singleServerConfig:
|
password: 942464Yy
|
||||||
# 最小空闲连接数
|
idleConnectionTimeout: 10000
|
||||||
connectionMinimumIdleSize: 8
|
timeout: 3000
|
||||||
# 连接池大小
|
|
||||||
connectionPoolSize: 32
|
|
||||||
# 连接空闲超时,单位:毫秒
|
|
||||||
idleConnectionTimeout: 10000
|
|
||||||
# 命令等待超时,单位:毫秒
|
|
||||||
timeout: 3000
|
|
||||||
# 登录相关配置
|
# 登录相关配置
|
||||||
login:
|
login:
|
||||||
# 登录缓存
|
# 登录缓存
|
||||||
|
|||||||
@@ -70,23 +70,16 @@ spring:
|
|||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:6379}
|
||||||
#连接超时时间
|
#连接超时时间
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
redisson:
|
redisson:
|
||||||
# redis key前缀
|
config: |
|
||||||
keyPrefix:
|
threads: 4
|
||||||
# 线程池数量
|
nettyThreads: 4
|
||||||
threads: 4
|
singleServerConfig:
|
||||||
# Netty线程池数量
|
connectionMinimumIdleSize: 8
|
||||||
nettyThreads: 8
|
connectionPoolSize: 8
|
||||||
# 单节点配置
|
address: redis://10.16.1.25:6379
|
||||||
singleServerConfig:
|
idleConnectionTimeout: 10000
|
||||||
# 最小空闲连接数
|
timeout: 3000
|
||||||
connectionMinimumIdleSize: 8
|
|
||||||
# 连接池大小
|
|
||||||
connectionPoolSize: 32
|
|
||||||
# 连接空闲超时,单位:毫秒
|
|
||||||
idleConnectionTimeout: 10000
|
|
||||||
# 命令等待超时,单位:毫秒
|
|
||||||
timeout: 3000
|
|
||||||
# 登录相关配置
|
# 登录相关配置
|
||||||
login:
|
login:
|
||||||
# 登录缓存
|
# 登录缓存
|
||||||
@@ -164,4 +157,4 @@ file:
|
|||||||
logging:
|
logging:
|
||||||
file:
|
file:
|
||||||
path: /app/jar/logs
|
path: /app/jar/logs
|
||||||
config: classpath:logback-spring.xml
|
config: classpath:logback-spring.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user