Skip to content
New issue

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

fix(pool): turn off message handler only if cmd is known #2769

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

shishir-karanth
Copy link

@shishir-karanth shishir-karanth commented Sep 9, 2024

There are some cases where node internal processes would be sending messages to child processes(node's new builtin --watch for example).

I've tried to turn off the handler only if the cmd is one of the known ones from bull. Let me know if that makes sense or do you have any other approaches. Thanks

@shishir-karanth shishir-karanth changed the title fix(pool): do not turn off message handler if cmd is undefined fix(pool): turn off message handler if cmd is undefined Sep 9, 2024
@shishir-karanth shishir-karanth changed the title fix(pool): turn off message handler if cmd is undefined fix(pool): turn off message handler only if cmd is known Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant