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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/server/worker.rb b/lib/action_cable/server/worker.rb
index 5b03000142..d7823ecf93 100644
--- a/lib/action_cable/server/worker.rb
+++ b/lib/action_cable/server/worker.rb
@@ -4,9 +4,9 @@ module ActionCable
class Worker
include ActiveSupport::Callbacks
include Celluloid
- include ClearDatabaseConnections
define_callbacks :work
+ include ClearDatabaseConnections
def invoke(receiver, method, *args)
run_callbacks :work do