mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
that should be 60 tbh
This commit is contained in:
parent
eec79b5fd0
commit
3465a154d5
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class WebSocketManager extends EventEmitter {
|
||||||
const item = this._queue[0];
|
const item = this._queue[0];
|
||||||
if (!(this.ws.readyState === WebSocketConnection.WebSocket.OPEN && item)) return;
|
if (!(this.ws.readyState === WebSocketConnection.WebSocket.OPEN && item)) return;
|
||||||
if (this.remaining === 0) {
|
if (this.remaining === 0) {
|
||||||
this.client.setTimeout(this.doQueue.bind(this), Date.now() + (this._remainingReset || 120e3));
|
this.client.setTimeout(this.doQueue.bind(this), Date.now() + (this._remainingReset || 60e3));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._remaining--;
|
this._remaining--;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue