From 2385a353f20d5f93b38e61f982a194b4c5cd7201 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 25 Apr 2024 18:17:20 +0000 Subject: [PATCH] update bounds --- svc/retriever.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/svc/retriever.ts b/svc/retriever.ts index eace6df69..5a6a6b90b 100644 --- a/svc/retriever.ts +++ b/svc/retriever.ts @@ -15,12 +15,12 @@ const app = express(); const steamObj: Record = {}; const minUpTimeSeconds = 300; -const numAccounts = 15; -const matchesPerAccount = 70; +const numAccounts = 5; +const matchesPerAccount = 100; const accountAttemptMax = 5; const port = config.PORT || config.RETRIEVER_PORT; const getMatchRequestInterval = () => { - return Math.ceil(5000 / (Object.keys(steamObj).length || 1)); + return Math.ceil(10000 / (Object.keys(steamObj).length || 1)); }; const noneReady = () => Object.values(steamObj).filter((client) => client.steamID).length === 0;