mirror of https://github.com/rails/rails
don't need explicit dep and a pretty neat pick
This commit is contained in:
parent
e529e3428e
commit
cd1d7e287b
|
@ -23,7 +23,6 @@ Gem::Specification.new do |s|
|
|||
s.add_dependency 'coffee-rails', '~> 4.1.0'
|
||||
s.add_dependency 'faye-websocket', '~> 0.10.0'
|
||||
s.add_dependency 'websocket-driver', '~> 0.6.1'
|
||||
s.add_dependency 'concurrent-ruby', '~> 1.0.0'
|
||||
s.add_dependency 'em-hiredis', '~> 0.3.0'
|
||||
s.add_dependency 'redis', '~> 3.0'
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ module ActionCable
|
|||
define_callbacks :work
|
||||
include ActiveRecordConnectionManagement
|
||||
|
||||
def initialize(max_size=5)
|
||||
def initialize(max_size: 5)
|
||||
@pool = Concurrent::ThreadPoolExecutor.new(
|
||||
min_threads: 1,
|
||||
max_threads: max_size,
|
||||
|
|
Loading…
Reference in New Issue