From 047a9511b6c7b7247288f73609ea98fbae74db78 Mon Sep 17 00:00:00 2001 From: Howard Chung Date: Tue, 28 May 2024 15:28:38 -0700 Subject: [PATCH] Update queue.ts --- store/queue.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/store/queue.ts b/store/queue.ts index e181271fb..153e28134 100644 --- a/store/queue.ts +++ b/store/queue.ts @@ -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[]; }>(