3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

debug: increase 'lowest global remaining' log interval

This commit is contained in:
Dragory 2021-11-02 20:14:19 +02:00
parent 3648968439
commit 59a6d5a56b
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -384,9 +384,9 @@ connect().then(async () => {
lowestGlobalRemaining = Math.min(lowestGlobalRemaining, (client as any).rest.globalRemaining);
}, 100);
setInterval(() => {
console.log("Lowest global remaining in the past 5 seconds:", lowestGlobalRemaining);
console.log("Lowest global remaining in the past 15 seconds:", lowestGlobalRemaining);
lowestGlobalRemaining = Infinity;
}, 5000);
}, 15000);
bot.initialize();
logger.info("Bot Initialized");