Skip to content

Commit

Permalink
chore: fix moveToFinishedKeys ref
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Sep 13, 2024
1 parent e973ec5 commit 65c3beb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/classes/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ export class Scripts {
const metricsKey = this.queue.toKey(`metrics:${target}`);

const keys = this.moveToFinishedKeys;
keys[10] = queueKeys[target];
keys[11] = this.queue.toKey(job.id ?? '');
keys[12] = metricsKey;
keys[13] = this.queue.keys.marker;
keys[9] = queueKeys[target];
keys[10] = this.queue.toKey(job.id ?? '');
keys[11] = metricsKey;
keys[12] = this.queue.keys.marker;

const keepJobs = this.getKeepJobs(shouldRemove, workerKeepJobs);

Expand Down

0 comments on commit 65c3beb

Please sign in to comment.