-
-
Save maxjustus/9d70da788596c8192572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sidekiq.configure_client do |config| | |
config.client_middleware do |chain| | |
chain.add Sidekiq::Middleware::Client::Batch | |
end | |
config.redis = ConnectionPool.new(:timeout => 1, :size => 1) do | |
RedisFailover::Client.new(:zkservers => Rails.config.zk_servers, :db => 1) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment