Skip to content

Commit

Permalink
fix(worker): forward skipVersionCheck to blockingConnection (#2189) ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup authored Sep 22, 2023
1 parent 21e51e8 commit c8aa9a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/classes/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ export class Worker<
isRedisInstance(opts.connection)
? (<Redis>opts.connection).duplicate({ connectionName })
: { ...opts.connection, connectionName },
false,
true,
opts.skipVersionCheck,
);
this.blockingConnection.on('error', error => this.emit('error', error));
this.blockingConnection.on('ready', () =>
Expand Down

0 comments on commit c8aa9a3

Please sign in to comment.