diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2016-01-08 20:09:25 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-01-08 20:09:25 +0100 |
commit | 36fe3015644284dfbd7716c1d844dd8ad68b88c2 (patch) | |
tree | d111571f1a34efba019097993b074123c943e93e /actioncable/lib/action_cable/channel/periodic_timers.rb | |
parent | 3b7ccadfc1c8dfec61af898167e1300b17f5cf25 (diff) | |
download | rails-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.rb | 2 |
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 |