From 66c275f42f70b8f9afb560fcaee08fd1f78c8888 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Tue, 13 Mar 2012 21:44:04 -0700 Subject: [PATCH] typo --- lib/sidekiq/redis_connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/redis_connection.rb b/lib/sidekiq/redis_connection.rb index 26daafd7..28a51ed5 100644 --- a/lib/sidekiq/redis_connection.rb +++ b/lib/sidekiq/redis_connection.rb @@ -6,7 +6,7 @@ module Sidekiq def self.create(options={}) url = options[:url] || ENV['REDISTOGO_URL'] || 'redis://localhost:6379/0' if options[:use_pool] != false - ConnectionPool.new(:timeout => 1, :size => (options[:size] || Sidekiq.options[:concurrency] | 25)) do + ConnectionPool.new(:timeout => 1, :size => (options[:size] || Sidekiq.options[:concurrency] || 25)) do build_client(url, options[:namespace]) end else