Skip to content

Commit

Permalink
disable fullhistory getmatchdetails
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Nov 20, 2024
1 parent edc473d commit ec6c90d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions svc/fullhistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ async function processMatch(matchId: string) {
const container = generateJob('api_details', {
match_id: Number(matchId),
});
const body = await getSteamAPIData({ url: container.url, noRetry: true });
const match = body.result;
await insertMatch(match, {
type: 'api',
ifNotExists: true,
});
// Disabled due to Steam GetMatchDetails being broken
// const body = await getSteamAPIData({ url: container.url, noRetry: true });
// const match = body.result;
// await insertMatch(match, {
// type: 'api',
// ifNotExists: true,
// });
await new Promise((resolve) => setTimeout(resolve, 200));
}

Expand Down

0 comments on commit ec6c90d

Please sign in to comment.