44323
2024-03-18 537ed054fe1d9b40b4908cf41ce8c9a6a82d0df9
cloud-server-account/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);