From 5ac7cb6998d260be6713ccde5a6b5502df76f6ef Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期二, 17 十月 2023 14:55:22 +0800 Subject: [PATCH] 配置修改 --- UserTravel/guns-admin/src/main/java/com/stylefeng/guns/config/RedisConfig.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/UserTravel/guns-admin/src/main/java/com/stylefeng/guns/config/RedisConfig.java b/UserTravel/guns-admin/src/main/java/com/stylefeng/guns/config/RedisConfig.java index 19f8565..d459612 100644 --- a/UserTravel/guns-admin/src/main/java/com/stylefeng/guns/config/RedisConfig.java +++ b/UserTravel/guns-admin/src/main/java/com/stylefeng/guns/config/RedisConfig.java @@ -40,7 +40,7 @@ jedisPoolConfig.setBlockWhenExhausted(blockWhenExhausted); // 是否启用pool的jmx管理功能, 默认true jedisPoolConfig.setJmxEnabled(true); - JedisPool jedisPool = new JedisPool(jedisPoolConfig, host, port, timeout); + JedisPool jedisPool = new JedisPool(jedisPoolConfig, host, port, timeout, password); return jedisPool; } } -- Gitblit v1.7.1