Open gburgett opened 5 years ago
Heroku gives us a Redis connection string that looks kinda like this: redis://h:xxxpasswordxxx@ec2-99-9-999-999.compute-1.amazonaws.com:6379
redis://h:xxxpasswordxxx@ec2-99-9-999-999.compute-1.amazonaws.com: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'] } }
This is the same issue I was dealing with here: https://github.com/cfis/activejob-locking/issues/3
Sorry for late response. Can you write up a patch?
Heroku gives us a Redis connection string that looks kinda like this:
redis://h:xxxpasswordxxx@ec2-99-9-999-999.compute-1.amazonaws.com:6379
Unfortunately the SuoRedis adapter doesn't support passing AdapterOptions, so we can't do this: