From 47393abe1d54cdc1c97b8671cc27acc53c2c710d Mon Sep 17 00:00:00 2001 From: wangwenhua <12345678> Date: Fri, 19 Sep 2025 11:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=96=97=E4=BB=BB=E5=8A=A1=E6=B6=88?= =?UTF-8?q?=E8=80=97=E8=B5=84=E6=BA=90=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod.properties | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 524fbd0..aa755f9 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -6,11 +6,18 @@ spring.datasource.dynamic.datasource.dm.username=simulation spring.datasource.dynamic.datasource.dm.password=Simulation001 spring.redis.database=0 -spring.redis.host=127.0.0.1 +spring.redis.host=192.168.0.53 spring.redis.port=6379 spring.redis.jedis.pool.max-idle=10 #spring.redis.password=123 spring.redis.timeout=5000 +spring.redis.lettuce.shutdown-timeout=5000 +spring.redis.lettuce.timeout=5000 +spring.redis.lettuce.pool.max-active=8 +spring.redis.lettuce.pool.max-idle=8 +spring.redis.lettuce.pool.min-idle=0 +spring.redis.lettuce.pool.timeout=5000ms # 命令执行超时 +spring.redis.lettuce.pool.connect-timeout=10000ms # 连接建立超时 server.port=8099