Update rateLimit.ts
parent
67a210d439
commit
fcc13da23d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue