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

Specify redis url in our config #144

humphd opened this issue Nov 11, 2019 · 0 comments · Fixed by #171

Specify redis url in our config #144

humphd opened this issue Nov 11, 2019 · 0 comments · Fixed by #171


Copy link

@humphd humphd commented Nov 11, 2019

Split off from #112, this deals with specifying server info about redis in our env, and reading that in when we create a queue.

We should move the Redis URL into our .env and when we make Bull Queues, pass this URL on via the constructor. With #105, we can do this. Doing so will make it easier to switch between development and production environments:

const redisUrl = process.env.REDIS_URL || 'redis://';
const queue = new Queue('name-of-queue', redisUrl);
@Reza-Rajabi Reza-Rajabi added this to Issue in Main via automation Nov 13, 2019
@Reza-Rajabi Reza-Rajabi moved this from Issue to In progress/Review in Main Nov 13, 2019
Main automation moved this from In progress/Review to Closed Nov 13, 2019
zufishanali added a commit that referenced this issue Nov 13, 2019
Fixes #144 - Added the Redis URL to env.example and pass it when making Bull queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.