3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-07 19:17:19 +00:00

chore: run formatter

This commit is contained in:
almeidx 2025-06-01 16:05:34 +01:00
parent 3ef89246ba
commit 3722393ec0
No known key found for this signature in database
40 changed files with 13085 additions and 13040 deletions

View file

@ -199,14 +199,17 @@ setInterval(() => {
avgCount++;
lastCheck = now;
}, 500);
setInterval(() => {
const avgBlocking = avgTotal / (avgCount || 1);
// FIXME: Debug
// tslint:disable-next-line:no-console
console.log(`Average blocking in the last 5min: ${avgBlocking / avgTotal}ms`);
avgTotal = 0;
avgCount = 0;
}, 5 * 60 * 1000);
setInterval(
() => {
const avgBlocking = avgTotal / (avgCount || 1);
// FIXME: Debug
// tslint:disable-next-line:no-console
console.log(`Average blocking in the last 5min: ${avgBlocking / avgTotal}ms`);
avgTotal = 0;
avgCount = 0;
},
5 * 60 * 1000,
);
if (env.DEBUG) {
logger.info("NOTE: Bot started in DEBUG mode");
@ -332,7 +335,7 @@ connect().then(async () => {
if (loaded.success_emoji || loaded.error_emoji) {
const deprecatedKeys = [] as string[];
const exampleConfig = `plugins:\n common:\n config:\n success_emoji: "👍"\n error_emoji: "👎"`;
// const exampleConfig = `plugins:\n common:\n config:\n success_emoji: "👍"\n error_emoji: "👎"`;
if (loaded.success_emoji) {
deprecatedKeys.push("success_emoji");