From 2ab3d6b0236ce94e1bfcd2350957422eb626821b Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 12 Oct 2024 02:37:08 +0100 Subject: [PATCH] track top 1000 players --- projects/backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/backend/src/index.ts b/projects/backend/src/index.ts index ed45ff6..f6b291d 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -36,7 +36,7 @@ app.use( pattern: "1 0 * * *", // Every day at 00:01 (London time) timezone: "Europe/London", run: async () => { - const pages = 10; + const pages = 20; // top 1000 players const cooldown = 60_000 / 250; // 250 requests per minute let toTrack: PlayerDocument[] = await PlayerModel.find({});