Skip to content

Commit

Permalink
don't need explicit dep and a pretty neat pick
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 6, 2016
1 parent e529e34 commit cd1d7e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion actioncable/actioncable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion actioncable/lib/action_cable/server/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Worker
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,
Expand Down

0 comments on commit cd1d7e2

Please sign in to comment.