From 61d9a15d8a4c545391ac005131ec17b69d095c7e Mon Sep 17 00:00:00 2001 From: roggervalf Date: Tue, 26 Nov 2024 21:34:41 -0600 Subject: [PATCH] chore: remove unused method --- src/classes/queue.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/classes/queue.ts b/src/classes/queue.ts index 4b9ef454ce..8e8126343b 100644 --- a/src/classes/queue.ts +++ b/src/classes/queue.ts @@ -241,17 +241,6 @@ export class Queue< return await client.hget(this.keys.meta, 'version'); } - protected createJob( - data: JobJsonRaw, - jobId: string, - ): Job { - return this.Job.fromJSON(this as MinimalQueue, data, jobId) as Job< - DataType, - ResultType, - NameType - >; - } - get repeat(): Promise { return new Promise(async resolve => { if (!this._repeat) {