@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        final RedisConfigProperties that = (RedisConfigProperties) o;
        return Objects.equals(database, that.database)
                && Objects.equals(master, that.master)
                && Objects.equals(mode, that.mode)
                && Objects.equals(url, that.url)
                && Objects.equals(password, that.password)
                && Objects.equals(maxIdle, that.maxIdle)
                && Objects.equals(minIdle, that.minIdle)
                && Objects.equals(maxActive, that.maxActive)
                && Objects.equals(maxWait, that.maxWait);
    }
Sets max wait.

@param maxWait the max wait
shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-token-limiter/src/main/java/org/apache/shenyu/plugin/ai/token/limiter/redis/RedisConfigProperties.java