We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constructing of Queue and Worker are very similar, but:
In Queue constructor you can define sharedConnection & blockingConnection property from outside (https://github.com/taskforcesh/bullmq/blob/master/src/classes/queue.ts#L109-L117):
super( name, { sharedConnection: isRedisInstance(opts?.connection), blockingConnection: false, ...opts, }, Connection, );
But in Worker you can not (https://github.com/taskforcesh/bullmq/blob/master/src/classes/worker.ts#L163-L171):
super( name, { ...opts, sharedConnection: isRedisInstance(opts.connection), blockingConnection: true, }, Connection, );
What's the point? Is it bug? SharedConnection & BlockingConnection must always stick together?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Constructing of Queue and Worker are very similar, but:
In Queue constructor you can define sharedConnection & blockingConnection property from outside (https://github.com/taskforcesh/bullmq/blob/master/src/classes/queue.ts#L109-L117):
But in Worker you can not (https://github.com/taskforcesh/bullmq/blob/master/src/classes/worker.ts#L163-L171):
What's the point? Is it bug? SharedConnection & BlockingConnection must always stick together?
The text was updated successfully, but these errors were encountered: