Skip to content

Instantly share code, notes, and snippets.

@moperacz moperacz/app.rb
Created Mar 10, 2013

Embed
What would you like to do?
Sidekiq.configure_server do |config|
pool = ConnectionPool.new(:size => 10, :timeout => 3) do
zkservers = 'localhost:2181,localhost:2182,localhost:2183'
RedisFailover::Client.new namespace: 'my_service', zkservers: zkservers
end
config.redis = pool
end
# do the same in Sidekiq.configure_client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.