|
|
@ -48,7 +48,6 @@ dubbo:
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
allow-circular-references: true
|
|
|
|
|
|
|
|
allow-bean-definition-overriding: true
|
|
|
|
allow-bean-definition-overriding: true
|
|
|
|
mvc:
|
|
|
|
mvc:
|
|
|
|
pathmatch:
|
|
|
|
pathmatch:
|
|
|
@ -90,9 +89,9 @@ spring:
|
|
|
|
# redisson 配置
|
|
|
|
# redisson 配置
|
|
|
|
redisson:
|
|
|
|
redisson:
|
|
|
|
# 线程池数量
|
|
|
|
# 线程池数量
|
|
|
|
threads: 16
|
|
|
|
threads: 4
|
|
|
|
# Netty线程池数量
|
|
|
|
# Netty线程池数量
|
|
|
|
nettyThreads: 32
|
|
|
|
nettyThreads: 8
|
|
|
|
# 传输模式
|
|
|
|
# 传输模式
|
|
|
|
transportMode: "NIO"
|
|
|
|
transportMode: "NIO"
|
|
|
|
# 单节点配置
|
|
|
|
# 单节点配置
|
|
|
@ -100,9 +99,9 @@ redisson:
|
|
|
|
# 客户端名称
|
|
|
|
# 客户端名称
|
|
|
|
clientName: ${spring.application.name}
|
|
|
|
clientName: ${spring.application.name}
|
|
|
|
# 最小空闲连接数
|
|
|
|
# 最小空闲连接数
|
|
|
|
connectionMinimumIdleSize: 32
|
|
|
|
connectionMinimumIdleSize: 8
|
|
|
|
# 连接池大小
|
|
|
|
# 连接池大小
|
|
|
|
connectionPoolSize: 64
|
|
|
|
connectionPoolSize: 32
|
|
|
|
# 连接空闲超时,单位:毫秒
|
|
|
|
# 连接空闲超时,单位:毫秒
|
|
|
|
idleConnectionTimeout: 10000
|
|
|
|
idleConnectionTimeout: 10000
|
|
|
|
# 命令等待超时,单位:毫秒
|
|
|
|
# 命令等待超时,单位:毫秒
|
|
|
|