Two Redis Two Worker but same EventBusService #12851
Unanswered
rossjaydev155
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m trying to set up 2 workers in Medusa with two different Redis instances. One worker is connected to the same Redis as the API, and the other worker is connected to a separate Redis instance, which we’ll call redis-import. I’ve split the Jobs so that the import of categories and products is processed only by one worker, which we’ll call worker-import.
However, when the API emits an event, the subscriber is triggered on both workers, and I don’t want this behavior. How can I prevent that? I’m using Medusa version 1.20.
Beta Was this translation helpful? Give feedback.
All reactions