mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
fix(gateway): rate-limit handling (#2079)
* fix: Closes Gateway Ratelimiting #1886 * fix: fmt * fix: invalid import
This commit is contained in:
@@ -43,6 +43,7 @@ export function resume(gateway: GatewayManager, shardId: number) {
|
||||
processingQueue: false,
|
||||
queueStartedAt: Date.now(),
|
||||
queueCounter: 0,
|
||||
safeRequestsPerShard: oldShard.safeRequestsPerShard || 120,
|
||||
});
|
||||
|
||||
// Resume on open
|
||||
|
||||
Reference in New Issue
Block a user