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

Make it clear that certain constructors require a redis connection. #1950

Open
charleslee94 opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@charleslee94
Copy link

charleslee94 commented Jan 30, 2025

Looking through issues, I see that several others including myself have had issues when deploying apps using bullmq and redis to dockerized containers.

A lot of the time, for classes like QueueEvents or FlowProducer not passing in an explicit redis connection will result in a default connection being passed, usually localhost.

Its not clear that these constructors require redis connections. It would be helpful if the examples in the docs provided clearer indications that you should pass in redis connections to these classes.

const connection = new Redis()
const events = new QueueEvents('Paint', connection)
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

No branches or pull requests

1 participant