summaryrefslogtreecommitdiff
path: root/config/initializers/action_cable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/action_cable.rb')
-rw-r--r--config/initializers/action_cable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/action_cable.rb b/config/initializers/action_cable.rb
index 16d29f5910f..a7ef5cc332c 100644
--- a/config/initializers/action_cable.rb
+++ b/config/initializers/action_cable.rb
@@ -19,4 +19,4 @@ ActionCable::SubscriptionAdapter::Redis.redis_connector = lambda do |config|
end
Gitlab::ActionCable::RequestStoreCallbacks.install
-Gitlab::Database::LoadBalancing::ActionCableCallbacks.install if Gitlab::Database::LoadBalancing.enable?
+Gitlab::Database::LoadBalancing::ActionCableCallbacks.install