Commit 6a507e4f authored by suhuiguang's avatar suhuiguang

reafact(jyjc): 报检规则4.0开发

1.连接池优化
parent e9645190
......@@ -51,6 +51,7 @@ public class RedissonManager {
public RedissonClient redissonClient() {
// 集群环境使用
Config config = new Config();
config.setNettyThreads(16).setThreads(8);
config.useClusterServers()
.addNodeAddress(clusterNodes.split(","))
.setPassword(password);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment