Skip to content

Commit

Permalink
Update fullhistory.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung authored Apr 27, 2024
1 parent fb8b111 commit dfabd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/fullhistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const apiKeys = config.STEAM_API_KEY.split(',');
const apiHosts = config.STEAM_API_HOST.split(',');
// Approximately 5 req/sec limit per apiHost
// Short fullhistory uses 1 req, long 5 req, some percentage will need to query for matches
const parallelism = Math.min(apiHosts.length * 4, apiKeys.length);
const parallelism = Math.min(apiHosts.length * 3, apiKeys.length);

async function updatePlayer(player: FullHistoryJob) {
// done with this player, update
Expand Down

0 comments on commit dfabd04

Please sign in to comment.