aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/server/worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/server/worker.rb')
-rw-r--r--lib/action_cable/server/worker.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action_cable/server/worker.rb b/lib/action_cable/server/worker.rb
index 91496775b8..e063b2a2e1 100644
--- a/lib/action_cable/server/worker.rb
+++ b/lib/action_cable/server/worker.rb
@@ -1,3 +1,6 @@
+require 'celluloid'
+require 'active_support/callbacks'
+
module ActionCable
module Server
# Worker used by Server.send_async to do connection work in threads. Only for internal use.
@@ -36,4 +39,4 @@ module ActionCable
end
end
end
-end \ No newline at end of file
+end