Update rateLimit.ts

pull/10169/head
zomars 2023-07-14 16:02:10 -07:00
parent 67a210d439
commit fcc13da23d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ let warningDisplayed = false;
/** Prevent flooding the logs while testing/building */ /** Prevent flooding the logs while testing/building */
function logOnce(message: string) { function logOnce(message: string) {
if (!warningDisplayed) return; if (warningDisplayed) return;
log.warn(message); log.warn(message);
warningDisplayed = true; warningDisplayed = true;
} }