.framework.qing-framework-cache.1.0.1.source-code.redisson.yml Maven / Gradle / Ivy
#Redisson配置
singleServerConfig:
password: ${spring.redis.password}
clientName: null
database: 0 #选择使用哪个数据库0~15
idleConnectionTimeout: 10000
pingTimeout: 1000
connectTimeout: 10000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
reconnectionTimeout: 3000
failedAttempts: 3
subscriptionsPerConnection: 5
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
connectionMinimumIdleSize: 32
connectionPoolSize: 64
dnsMonitoringInterval: 5000
#dnsMonitoring: false
threads: 10
nettyThreads: 10
codec:
class: "org.redisson.codec.JsonJacksonCodec"
transportMode: "NIO"