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

Cannot pass URL connection string to SuoRedis adapter #7

Open
gburgett opened this issue Sep 11, 2019 · 2 comments
Open

Cannot pass URL connection string to SuoRedis adapter #7

gburgett opened this issue Sep 11, 2019 · 2 comments

Comments

@gburgett
Copy link

Heroku gives us a Redis connection string that looks kinda like this:
redis://h:[email protected]:6379

Unfortunately the SuoRedis adapter doesn't support passing AdapterOptions, so we can't do this:

ActiveJob::Locking.options.adapter = ActiveJob::Locking::Adapters::SuoRedis
ActiveJob::Locking.options.adapter_options = { connection: { url: ENV['REDIS_URL'] } }
@bkroeker
Copy link

This is the same issue I was dealing with here: #3

@cfis
Copy link
Owner

cfis commented Oct 6, 2019

Sorry for late response. Can you write up a patch?

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

3 participants