Skip to content

Commit

Permalink
Update queue.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed May 28, 2024
1 parent 299fe5c commit 047a951
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions store/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ export async function addReliableJob(
options: ReliableQueueOptions,
) {
const { name, data } = input;
if (name === 'parse') {
// Also queue the job for gcdata only in case parsing is held up
await addJob({
name: 'gcQueue',
data: {
match_id: data.match_id,
},
});
}
// if (name === 'parse') {
// // Also queue the job for gcdata only in case parsing is held up
// await addJob({
// name: 'gcQueue',
// data: {
// match_id: data.match_id,
// },
// });
// }
const { rows } = await db.raw<{
rows: ReliableQueueRow[];
}>(
Expand Down

0 comments on commit 047a951

Please sign in to comment.