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.
28 lines
758 B
28 lines
758 B
#Redisson配置
|
|
singleServerConfig:
|
|
address: "redis://127.0.0.1:6379" #内网,本地
|
|
#address: "redis://172.20.5.57:6379" #外网
|
|
#password: "Redis+brngJ3U19@8_Z2^7a" #外网
|
|
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"
|
|
|