From 0dcb92f1a37197b0de853668a7e2df2be880c12a Mon Sep 17 00:00:00 2001 From: Qing Tomlinson Date: Wed, 22 Jun 2022 10:11:44 -0700 Subject: [PATCH] Address review comments --- ghcrawler/providers/queuing/scopedQueueSets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcrawler/providers/queuing/scopedQueueSets.js b/ghcrawler/providers/queuing/scopedQueueSets.js index f40a09c8..66125990 100644 --- a/ghcrawler/providers/queuing/scopedQueueSets.js +++ b/ghcrawler/providers/queuing/scopedQueueSets.js @@ -24,7 +24,7 @@ class ScopedQueueSets { async repush(original, newRequest) { //Always retry on the global queue const queue = original._retryQueue ? this.getQueue(original._retryQueue, 'global') : original._originQueue - if (queue != original._originQueue) await original._originQueue.done(original) + if (queue !== original._originQueue) await original._originQueue.done(original) return queue.push(newRequest) }