1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib
jc00ke 36bb71883a Allow generic Redis providers via env var
Instead of hardcoding every provider's environment variable, Sidekiq now
supports both REDIS_PROVIDER and REDIS_URL env vars.

Let's say you run on Heroku and you use openredis. You can now set
REDIS_PROVIDER=OPENREDIS_URL and Sidekiq will use the openredis uri.

If you switch to another provider, all you need to do is reset
REDIS_PROVIDER. An example of switching to RedisGreen:
REDIS_PROVIDER=REDISGREEN_URL. Easy peasy!

Sidekiq also supports using your own url with REDIS_URL. While you can
still pass in the URL to Sidekiq::RedisConnection.create, it's also now
possible to set it with just an env var.

Closes #443
2012-10-14 14:58:20 -07:00
..
sidekiq Allow generic Redis providers via env var 2012-10-14 14:58:20 -07:00
sidekiq.rb Remove optionality of Rails hooks, #401 2012-09-20 20:04:25 -07:00