@rvoh/psychic-workers 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -526,8 +526,6 @@ export class Background {
|
|
|
526
526
|
if (!queueInstance)
|
|
527
527
|
throw new Error(`missing queue: ${jobConfig?.queue?.toString() || 'N/A'}`);
|
|
528
528
|
const jobOptions = {};
|
|
529
|
-
if (jobId)
|
|
530
|
-
jobOptions.jobId = jobId;
|
|
531
529
|
if (delay)
|
|
532
530
|
jobOptions.delay = delay;
|
|
533
531
|
if (delay && jobId) {
|
|
@@ -526,8 +526,6 @@ export class Background {
|
|
|
526
526
|
if (!queueInstance)
|
|
527
527
|
throw new Error(`missing queue: ${jobConfig?.queue?.toString() || 'N/A'}`);
|
|
528
528
|
const jobOptions = {};
|
|
529
|
-
if (jobId)
|
|
530
|
-
jobOptions.jobId = jobId;
|
|
531
529
|
if (delay)
|
|
532
530
|
jobOptions.delay = delay;
|
|
533
531
|
if (delay && jobId) {
|