mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 18:00:08 +00:00
queueStartedAt
This commit is contained in:
@@ -17,8 +17,8 @@ export async function processQueue(id: number) {
|
||||
}
|
||||
|
||||
const now = Date.now();
|
||||
if (now - shard.queueMinuteTimestamp >= 60000) {
|
||||
shard.queueMinuteTimestamp = now;
|
||||
if (now - shard.queueStartedAt >= 60000) {
|
||||
shard.queueStartedAt = now;
|
||||
counter = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user