mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: ref delay for rate limited requests (#7239)
This commit is contained in:
@@ -252,7 +252,7 @@ export class SequentialHandler {
|
||||
// Set RateLimitData based on the route-specific limit
|
||||
limit = this.limit;
|
||||
timeout = this.timeToReset;
|
||||
delay = sleep(timeout, undefined, { ref: false });
|
||||
delay = sleep(timeout);
|
||||
}
|
||||
const rateLimitData: RateLimitData = {
|
||||
timeToReset: timeout,
|
||||
|
||||
Reference in New Issue
Block a user