aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/connection/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-01-16 15:42:20 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-01-16 15:42:20 +0100
commit01c320001bcce617196270f3d398d48a89a6ea2a (patch)
tree18ca55a61b9bd0bd73bcad2f8f0dbc61dfc79f69 /actioncable/lib/action_cable/connection/base.rb
parentf5065ef60c011a0d84224e74e1e8a0b882c36223 (diff)
downloadrails-01c320001bcce617196270f3d398d48a89a6ea2a.tar.gz
rails-01c320001bcce617196270f3d398d48a89a6ea2a.tar.bz2
rails-01c320001bcce617196270f3d398d48a89a6ea2a.zip
Revert "Merge pull request #22977 from rails/revert-22934-master"
This reverts commit d0393fccffc118a5de37654aa222774b66123393, reversing changes made to 3b7ccadfc1c8dfec61af898167e1300b17f5cf25.
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`.