mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
typo
This commit is contained in:
parent
2206ce7654
commit
66c275f42f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module Sidekiq
|
||||||
def self.create(options={})
|
def self.create(options={})
|
||||||
url = options[:url] || ENV['REDISTOGO_URL'] || 'redis://localhost:6379/0'
|
url = options[:url] || ENV['REDISTOGO_URL'] || 'redis://localhost:6379/0'
|
||||||
if options[:use_pool] != false
|
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])
|
build_client(url, options[:namespace])
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue