无关风月
2024-09-24 61bbd595ee2bc3c67b40878894dcc07174c6eea6
cloud-server-other/src/main/java/com/dsh/config/RedisConfig.java
@@ -35,10 +35,10 @@
    private String password;
    @Value("${spring.redis.block-when-exhausted}")
    private boolean  blockWhenExhausted;
    private boolean blockWhenExhausted;
    @Bean
    public JedisPool redisPoolFactory()  throws Exception{
    public JedisPool redisPoolFactory() throws Exception {
        JedisPoolConfig jedisPoolConfig = new JedisPoolConfig();
        jedisPoolConfig.setMaxIdle(maxIdle);
        jedisPoolConfig.setMinIdle(minIdle);