track top 1000 players
Some checks failed
Deploy Backend / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-12 02:37:08 +01:00
parent 6947c30c23
commit 2ab3d6b023

@ -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({});