aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server.rb
blob: a2a89d5f1e47dc69f3e3d26ced7a1f11393aaba4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'eventmachine'
EventMachine.epoll  if EventMachine.epoll?
EventMachine.kqueue if EventMachine.kqueue?

module ActionCable
  module Server
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :Base
      autoload :Broadcasting
      autoload :Connections
      autoload :Configuration

      autoload :Worker
      autoload :ActiveRecordConnectionManagement, 'action_cable/server/worker/active_record_connection_management'
    end
  end
end