From c08199da673ecacbecfd506fe4ba37ebbe2529e5 Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Sat, 21 Sep 2024 10:00:44 +0200 Subject: [PATCH] Revert "Increase the GQL rate limit 4-fold" This reverts commit 143252f4fa4f3b61d9e4be597f782716890fb631. --- twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch.py b/twitch.py index 42b6a79..57484b0 100644 --- a/twitch.py +++ b/twitch.py @@ -431,7 +431,7 @@ class Twitch: self._mnt_triggers: deque[datetime] = deque() # NOTE: GQL is pretty volatile and breaks everything if one runs into their rate limit. # Do not modify the default, safe values. - self._qgl_limiter = RateLimiter(capacity=10, window=2) + self._qgl_limiter = RateLimiter(capacity=20, window=1) # Client type, session and auth self._client_type: ClientInfo = ClientType.ANDROID_APP self._session: aiohttp.ClientSession | None = None