From 6f730ca26c874d932d42ba93fdef64668fde19c5 Mon Sep 17 00:00:00 2001 From: zombieb Date: Mon, 9 Jun 2025 00:08:53 -0400 Subject: [PATCH] prepull --- .gitignore | 8 +++++--- src/apiutils.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1d25002..dd082a3 100644 --- a/.gitignore +++ b/.gitignore @@ -130,9 +130,11 @@ dist .pnp.* # galvanic corrosion -build/ +/build/ config.json +/user/ .vscode -# used to attach license to each file -/append.ts \ No newline at end of file + +# development purposes +/graph.svg \ No newline at end of file diff --git a/src/apiutils.ts b/src/apiutils.ts index 7d35d4e..769b468 100644 --- a/src/apiutils.ts +++ b/src/apiutils.ts @@ -190,7 +190,7 @@ export class RateLimiter { * @param interval In seconds: rate at which hit counts will be cleared * @param limit Number of hits (inclusive) before requests are blocked */ - constructor(interval: number = 20, limit: number = 2) { + constructor(interval: number = 60, limit: number = 10) { this.#hitLimit = limit; this.#intervalId = setInterval(() => {