mperham/sidekiq — pull request #415 by loopj (2012-09-24 22:37:49+00:00)
Title: Allow setting sidekiq's redis to an existing Redis or Redis::Namespace object

Sometimes you already have a constructed, configured instance of Redis or Redis::Namespace around in your app. It would be great to be able to set Sidekiq's redis to use your existing object.

This pull request allows you to do just this.

Eg:

my_redis = Redis.connect(...)

Sidekiq.configure_server do |config|
config.redis = my_redis
end