From 5f23361244aa9805e62093d8b7fd4b79b7324cdc Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Thu, 29 Apr 2021 16:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod.properties | 11 +++++++++++ src/main/resources/application-test.properties | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 6427289..7895a9e 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -18,6 +18,17 @@ spring.redis.jedis.pool.min-idle=50 spring.redis.jedis.pool.max-active=2000 spring.redis.jedis.pool.max-wait=1000 +#redis-cluster +redis.cluster.maxTotal=200 +redis.cluster.maxIdle=8 +redis.cluster.minIdle=3 +redis.cluster.nodes=192.168.136.191:8000,192.168.136.191:8001,192.168.136.191:8002 + +spring.mina.port=9123 +spring.mina.buffersize=2048 +spring.mina.idletime=15 +spring.main.show-banner=false + #\u65E5\u5FD7\u7EA7\u522B logging.level.jdbc=OFF logging.level.jdbc.sqltiming=DEBUG diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index 4924092..b008d14 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -18,6 +18,17 @@ spring.redis.jedis.pool.min-idle=50 spring.redis.jedis.pool.max-active=2000 spring.redis.jedis.pool.max-wait=1000 +#redis-cluster +redis.cluster.maxTotal=200 +redis.cluster.maxIdle=8 +redis.cluster.minIdle=3 +redis.cluster.nodes=192.168.136.191:8000,192.168.136.191:8001,192.168.136.191:8002 + +spring.mina.port=9123 +spring.mina.buffersize=2048 +spring.mina.idletime=15 +spring.main.show-banner=false + #\u65E5\u5FD7\u7EA7\u522B logging.level.jdbc=OFF logging.level.jdbc.sqltiming=DEBUG