public void setMaxIdle(final int maxIdle) {
        this.maxIdle = maxIdle;
    }
Sets max idle.

@param maxIdle the max idle
shenyu-plugin/shenyu-plugin-cache/shenyu-plugin-cache-redis/src/main/java/org/apache/shenyu/plugin/cache/redis/RedisConfigProperties.java