xuhy
2023-10-19 78851285202a040f8ddf998c067cd462874c1cb9
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;
    }
}