examples/por.rb in sidekiq-0.9.1 vs examples/por.rb in sidekiq-0.10.0

- old
+ new

@@ -1,14 +1,14 @@ require 'sidekiq' # If your client is single-threaded, we just need a single connection in our Redis connection pool Sidekiq.configure_client do |config| - config.redis = Sidekiq::RedisConnection.create(:namespace => 'x', :size => 1, :url => 'redis://redis.host:1234/db') + config.redis = Sidekiq::RedisConnection.create(:namespace => 'x', :size => 1, :url => 'redis://redis.host:1234/14') end # Sidekiq server is multi-threaded so our Redis connection pool size defaults to concurrency (-c) Sidekiq.configure_server do |config| - config.redis = Sidekiq::RedisConnection.create(:namespace => 'x', :url => 'redis://redis.host:1234/db') + config.redis = Sidekiq::RedisConnection.create(:namespace => 'x', :url => 'redis://redis.host:1234/14') end # Start up sidekiq via # ./bin/sidekiq -r ./examples/por.rb # and then you can open up an IRB session like so: