aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/connection/base.rb
diff options
context:
space:
mode:
authorMike Perham <mperham@gmail.com>2016-01-05 14:31:16 -0800
committerMike Perham <mperham@gmail.com>2016-01-05 14:31:16 -0800
commit547713b4c91e5c232ac3b2a8288b72001c6dfc46 (patch)
tree3785f9bff88bf77c9ca5134972d7d1d980ac0751 /actioncable/lib/action_cable/connection/base.rb
parentb7b508aa7908efb1c6ef6667e3087f4f6a4b508f (diff)
downloadrails-547713b4c91e5c232ac3b2a8288b72001c6dfc46.tar.gz
rails-547713b4c91e5c232ac3b2a8288b72001c6dfc46.tar.bz2
rails-547713b4c91e5c232ac3b2a8288b72001c6dfc46.zip
Move async execution from celluloid to concurrent-ruby
This removes 8 runtime gem dependencies from Rails: ``` Using hitimes 1.2.3 Using timers 4.1.1 Using celluloid-essentials 0.20.5 Using celluloid-extras 0.20.5 Using celluloid-fsm 0.20.5 Using celluloid-pool 0.20.5 Using celluloid-supervision 0.20.5 Using celluloid 0.17.2 ```
Diffstat (limited to 'actioncable/lib/action_cable/connection/base.rb')
-rw-r--r--actioncable/lib/action_cable/connection/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/connection/base.rb b/actioncable/lib/action_cable/connection/base.rb
index 977856d656..a8cfdf90f3 100644
--- a/actioncable/lib/action_cable/connection/base.rb
+++ b/actioncable/lib/action_cable/connection/base.rb
@@ -103,7 +103,7 @@ module ActionCable
# Invoke a method on the connection asynchronously through the pool of thread workers.
def send_async(method, *arguments)
- worker_pool.async.invoke(self, method, *arguments)
+ worker_pool.async_invoke(self, method, *arguments)
end
# Return a basic hash of statistics for the connection keyed with `identifier`, `started_at`, and `subscriptions`.