2015-10-16 04:02:22 -04:00
|
|
|
require 'eventmachine'
|
|
|
|
EventMachine.epoll if EventMachine.epoll?
|
|
|
|
EventMachine.kqueue if EventMachine.kqueue?
|
|
|
|
|
2015-02-05 06:05:11 -05:00
|
|
|
module ActionCable
|
2015-06-28 14:16:54 -04:00
|
|
|
module Server
|
2015-10-16 04:02:22 -04:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
|
|
|
eager_autoload do
|
|
|
|
autoload :Base
|
|
|
|
autoload :Broadcasting
|
|
|
|
autoload :Connections
|
|
|
|
autoload :Configuration
|
2015-07-08 16:36:29 -04:00
|
|
|
|
2015-10-16 04:02:22 -04:00
|
|
|
autoload :Worker
|
|
|
|
autoload :ActiveRecordConnectionManagement, 'action_cable/server/worker/active_record_connection_management'
|
|
|
|
end
|
2015-01-14 11:29:31 -05:00
|
|
|
end
|
|
|
|
end
|