mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
only call processRateLimitedPaths when processing is false
This commit is contained in:
@@ -56,7 +56,7 @@ export function processRequestHeaders(url: string, headers: Headers) {
|
||||
}
|
||||
}
|
||||
|
||||
if (ratelimited && rest.processingRateLimitedPaths) {
|
||||
if (ratelimited && !rest.processingRateLimitedPaths) {
|
||||
rest.processRateLimitedPaths();
|
||||
}
|
||||
return ratelimited ? bucketId : undefined;
|
||||
|
||||
Reference in New Issue
Block a user