You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pausing a queue locally and not waiting for active jobs to finish, ie when calling queue.pause(true, true), Bull will initialize the blocking Redis client even if that client wasn't previously initialized.
This is a similar issue as #1346, but that issue dealt with queue.pause(true), and this issue is about queue.pause(true, true).
Minimal, Working Test code to reproduce the issue.
constQueue=require('bull');constRedis=require('ioredis');constqueue=newQueue('foo',{createClient(type){if(type==='bclient'){thrownewError('This queue is not meant for processing');}returnnewRedis();}});queue.pause(true,true);
Bull version
develop
The text was updated successfully, but these errors were encountered:
Description
When pausing a queue locally and not waiting for active jobs to finish, ie when calling
queue.pause(true, true)
, Bull will initialize the blocking Redis client even if that client wasn't previously initialized.This is a similar issue as #1346, but that issue dealt with
queue.pause(true)
, and this issue is aboutqueue.pause(true, true)
.Minimal, Working Test code to reproduce the issue.
Bull version
develop
The text was updated successfully, but these errors were encountered: