Skip to content

Commit

Permalink
chore: restore helix refill rate after twitch fix (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy committed Feb 16, 2023
1 parent c8599cc commit d6c6f4c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -23,7 +23,6 @@
import feign.okhttp.OkHttpClient;
import feign.slf4j.Slf4jLogger;
import io.github.bucket4j.Bandwidth;
import io.github.bucket4j.Refill;
import lombok.*;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.RandomStringUtils;
Expand Down Expand Up @@ -56,7 +55,7 @@ public class TwitchHelixBuilder {
/**
* @see <a href="https://dev.twitch.tv/docs/api/guide#rate-limits">Helix Rate Limit Reference</a>
*/
public static final Bandwidth DEFAULT_BANDWIDTH = Bandwidth.classic(800, Refill.greedy(600, Duration.ofMinutes(1)));
public static final Bandwidth DEFAULT_BANDWIDTH = Bandwidth.simple(800, Duration.ofMinutes(1));

/**
* Client Id
Expand Down

0 comments on commit d6c6f4c

Please sign in to comment.