Commit 6a507e4f authored by suhuiguang's avatar suhuiguang

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

1.连接池优化
parent e9645190
...@@ -51,6 +51,7 @@ public class RedissonManager { ...@@ -51,6 +51,7 @@ public class RedissonManager {
public RedissonClient redissonClient() { public RedissonClient redissonClient() {
// 集群环境使用 // 集群环境使用
Config config = new Config(); Config config = new Config();
config.setNettyThreads(16).setThreads(8);
config.useClusterServers() config.useClusterServers()
.addNodeAddress(clusterNodes.split(",")) .addNodeAddress(clusterNodes.split(","))
.setPassword(password); .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