aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-01-16 15:50:25 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-01-16 15:50:25 +0100
commit39f383bad01e52c217c9007b5e9d3b239fe6a808 (patch)
tree7d00b59025497510a5f62b5ff1704e872e75b747 /actioncable/lib/action_cable/server
parent01c320001bcce617196270f3d398d48a89a6ea2a (diff)
downloadrails-39f383bad01e52c217c9007b5e9d3b239fe6a808.tar.gz
rails-39f383bad01e52c217c9007b5e9d3b239fe6a808.tar.bz2
rails-39f383bad01e52c217c9007b5e9d3b239fe6a808.zip
Fix the updated API (this sorts the concurrent-ruby switch with Basecamp)
Diffstat (limited to 'actioncable/lib/action_cable/server')
-rw-r--r--actioncable/lib/action_cable/server/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/server/base.rb b/actioncable/lib/action_cable/server/base.rb
index cfd0a65f0f..3785bbd154 100644
--- a/actioncable/lib/action_cable/server/base.rb
+++ b/actioncable/lib/action_cable/server/base.rb
@@ -36,7 +36,7 @@ module ActionCable
# The thread worker pool for handling all the connection work on this server. Default size is set by config.worker_pool_size.
def worker_pool
- @worker_pool ||= ActionCable::Server::Worker.pool(size: config.worker_pool_size)
+ @worker_pool ||= ActionCable::Server::Worker.new(max_size: config.worker_pool_size)
end
# Requires and returns a hash of all the channel class constants keyed by name.