You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
649 B
26 lines
649 B
#Redisson配置
|
|
singleServerConfig:
|
|
address: "redis://127.0.0.1:6379"
|
|
clientName: null
|
|
database: 15 #选择使用哪个数据库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: 16
|
|
nettyThreads: 32
|
|
codec:
|
|
class: "org.redisson.client.codec.StringCodec"
|
|
transportMode: "NIO"
|
|
|