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:
parent
3648968439
commit
59a6d5a56b
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue