mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
![]() 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 |
||
---|---|---|
.. | ||
sidekiq | ||
sidekiq.rb |