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: Add redis config option for Bull & BullMQ #43

Merged

Conversation

adamlogic
Copy link
Contributor

Previously we only offered redis_url as a way to specify a Redis connection, but that's not always enough. We now support a redis option that can either be an instance of IORedis or a configuration object. Essentially it follows the same API as the connection option in BullMQ:

new Judoscale({
  redis: redisOptions,
})

// or...

new Judoscale({
  redis: redisInstance,
})

@adamlogic adamlogic merged commit bb57dbd into main Jun 4, 2024
17 checks passed
@adamlogic adamlogic deleted the adam/prd-544-add-redis-connection-option-to-judo-node branch June 4, 2024 16:37
@github-actions github-actions bot mentioned this pull request Jun 4, 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