Support generic REDIS_URL
ajsharma opened this issue · comments
Redis services other than openredis have other ENV vars (I'm using Heroku's Redis Cloud add-on which provides REDISCLOUD_URL
), it would be nice to have a generic REDIS_URL
fallback for the other options.
I'm always kind of in favor of the free version unless you know what you're doing.
So why doesn't heroku set this?
I like what Sidekiq does for this.
If you've set REDIS_PROVIDER, it will use ENV[ENV["REDIS_PROVIDER"]]
to
get the URL. So you'd do REDIS_PROVIDER=OPENREDIS_URL, or
REDIS_PROVIDER=REDIS_URL, or whatever.
On Wed, Jul 9, 2014 at 5:29 PM, Corey Donohoe notifications@github.com
wrote:
So why doesn't heroku set this?
—
Reply to this email directly or view it on GitHub
#51 (comment).
PRs welcome. I'll definitely apply it though.