diff options
author | Mike Perham <mperham@gmail.com> | 2016-01-05 16:26:53 -0800 |
---|---|---|
committer | Mike Perham <mperham@gmail.com> | 2016-01-05 16:26:53 -0800 |
commit | cd1d7e287b09a6461d8eb5febd877602de6aca6c (patch) | |
tree | ed4a6ad3f00f2309aabc7abcf308cb1ceb690c98 /actioncable/lib/action_cable/server | |
parent | e529e3428e2fdcbc03ab9010127c743cc276dbf2 (diff) | |
download | rails-cd1d7e287b09a6461d8eb5febd877602de6aca6c.tar.gz rails-cd1d7e287b09a6461d8eb5febd877602de6aca6c.tar.bz2 rails-cd1d7e287b09a6461d8eb5febd877602de6aca6c.zip |
don't need explicit dep and a pretty neat pick
Diffstat (limited to 'actioncable/lib/action_cable/server')
-rw-r--r-- | actioncable/lib/action_cable/server/worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/server/worker.rb b/actioncable/lib/action_cable/server/worker.rb index 7787e99baf..3b6c6d44a1 100644 --- a/actioncable/lib/action_cable/server/worker.rb +++ b/actioncable/lib/action_cable/server/worker.rb @@ -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, |