Skip to content

Commit

Permalink
Better spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 19, 2015
1 parent a083cf6 commit 51bd331
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/action_cable/channel/base.rb
Expand Up @@ -93,6 +93,7 @@ def run_unsubscribe_callbacks
self.class.on_unsubscribe_callbacks.each { |callback| send(callback) }
end


def start_periodic_timers
self.class.periodic_timers.each do |callback, options|
@_active_periodic_timers << EventMachine::PeriodicTimer.new(options[:every]) do
Expand All @@ -105,6 +106,7 @@ def stop_periodic_timers
@_active_periodic_timers.each {|t| t.cancel }
end


def worker_pool
connection.worker_pool
end
Expand Down

0 comments on commit 51bd331

Please sign in to comment.