Skip to content

Conversation

@alex-h-strachan
Copy link

Use case - I would like to use a redis configuration like
{ url: 'my-connection-url', tls: { servername: 'my-servername' } }

This is the easiest configuration for Microsoft Azure's fully managed redis. While it's possible to support this with the existing configuration it requires de-structuring the connection url, passing it through to Kue where it will be re-constructed and passed back. With this PR, the same opts can be provided to the redis.createClient() function as go to Kue.

To maintain compatibility, I've translated the options.redis.socket to the "path" argument passed to redis & I took the options.redis.options and spread them into the main configuration, so they should still be supported.

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