优化代码,增加redisson配置
This commit is contained in:
21
buyer-api/src/main/resources/redisson.yaml
Normal file
21
buyer-api/src/main/resources/redisson.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
singleServerConfig:
|
||||
idleConnectionTimeout: 10000
|
||||
connectTimeout: 10000
|
||||
timeout: 3000
|
||||
retryAttempts: 3
|
||||
retryInterval: 1500
|
||||
password: lilishop
|
||||
subscriptionsPerConnection: 5
|
||||
clientName: null
|
||||
address: "redis://pg2481.com:6379"
|
||||
subscriptionConnectionMinimumIdleSize: 1
|
||||
subscriptionConnectionPoolSize: 50
|
||||
connectionMinimumIdleSize: 24
|
||||
connectionPoolSize: 64
|
||||
database: 0
|
||||
dnsMonitoringInterval: 5000
|
||||
threads: 16
|
||||
nettyThreads: 32
|
||||
codec: !<org.redisson.codec.MarshallingCodec> {}
|
||||
transportMode: "NIO"
|
||||
Reference in New Issue
Block a user