aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/channel/periodic_timers.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-01-08 20:09:25 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-01-08 20:09:25 +0100
commit36fe3015644284dfbd7716c1d844dd8ad68b88c2 (patch)
treed111571f1a34efba019097993b074123c943e93e /actioncable/lib/action_cable/channel/periodic_timers.rb
parent3b7ccadfc1c8dfec61af898167e1300b17f5cf25 (diff)
downloadrails-36fe3015644284dfbd7716c1d844dd8ad68b88c2.tar.gz
rails-36fe3015644284dfbd7716c1d844dd8ad68b88c2.tar.bz2
rails-36fe3015644284dfbd7716c1d844dd8ad68b88c2.zip
Revert "Move async execution from celluloid to concurrent-ruby"
Diffstat (limited to 'actioncable/lib/action_cable/channel/periodic_timers.rb')
-rw-r--r--actioncable/lib/action_cable/channel/periodic_timers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/periodic_timers.rb b/actioncable/lib/action_cable/channel/periodic_timers.rb
index 7f0fb37afc..25fe8e5e54 100644
--- a/actioncable/lib/action_cable/channel/periodic_timers.rb
+++ b/actioncable/lib/action_cable/channel/periodic_timers.rb
@@ -28,7 +28,7 @@ module ActionCable
def start_periodic_timers
self.class.periodic_timers.each do |callback, options|
active_periodic_timers << EventMachine::PeriodicTimer.new(options[:every]) do
- connection.worker_pool.async_run_periodic_timer(self, callback)
+ connection.worker_pool.async.run_periodic_timer(self, callback)
end
end
end