diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_cable.rb | 5 | ||||
-rw-r--r-- | lib/action_cable/server.rb | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/action_cable.rb b/lib/action_cable.rb index f3029c6c86..e7d8f4cbb1 100644 --- a/lib/action_cable.rb +++ b/lib/action_cable.rb @@ -1,12 +1,17 @@ require 'eventmachine' EM.epoll +require 'set' + require 'active_support' require 'active_support/json' require 'active_support/concern' require 'active_support/core_ext/hash/indifferent_access' require 'active_support/callbacks' +require 'faye/websocket' +require 'celluloid' + module ActionCable VERSION = '0.0.1' diff --git a/lib/action_cable/server.rb b/lib/action_cable/server.rb index ea22f0014e..10c94734ef 100644 --- a/lib/action_cable/server.rb +++ b/lib/action_cable/server.rb @@ -1,7 +1,3 @@ -require 'set' -require 'faye/websocket' -require 'celluloid' - Celluloid::Actor[:worker_pool] = ActionCable::Worker.pool(size: 100) module ActionCable |