Skip to content

Error when running queues in separate workers - Bullmq strategy #1726

@ttournie

Description

@ttournie

Describe the bug
When running 2 workers with separate queues I get errors from the server and the worker that is not supposed to run the queue still tries to do it.

To Reproduce
Steps to reproduce the behavior:

  1. Create 2 worker, une dedicated to indexing, the other to apply-collection-filter
  2. Run the project
  3. Add/modify a product to trigger some jobs
  4. See error in console

Expected behavior
No error should be displayed and jobs thaht does not concerne a worker should be ignored

Environment (please complete the following information):

  • @vendure/core version: 1.6.4
  • Nodejs version: 16.16
  • Database (mysql/postgres etc): postgres

Metadata

Metadata

Assignees

Type

No type

Projects

Status

♻️ In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions