Skip to content

Commit

Permalink
queue gcdata jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed May 24, 2024
1 parent eb57de7 commit d7a0aad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions store/insert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,13 @@ export async function insertMatch(
attempts,
},
);
// Also queue the job for gcdata only in case parsing is held up
await addJob({
name: 'gcQueue',
data: {
match_id: match.match_id,
},
});
return job;
}

Expand Down

0 comments on commit d7a0aad

Please sign in to comment.