diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 12:51:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 12:51:31 +0300 |
commit | 37d5cece3603d8df9f75c507594e70dade80c99f (patch) | |
tree | 84e6d51a3329b4f9bd13bf92e61fe401446e2d2a /config/initializers/action_cable.rb | |
parent | f8796c0836e943a27e26250c7cd4a5766e567f61 (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-ee
Diffstat (limited to 'config/initializers/action_cable.rb')
-rw-r--r-- | config/initializers/action_cable.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/action_cable.rb b/config/initializers/action_cable.rb index fc40d0b69c5..0d2073586be 100644 --- a/config/initializers/action_cable.rb +++ b/config/initializers/action_cable.rb @@ -9,6 +9,8 @@ Rails.application.configure do config.action_cable.worker_pool_size = Gitlab::ActionCable::Config.worker_pool_size end +ActionCable::SubscriptionAdapter::Base.prepend(Gitlab::Patch::ActionCableSubscriptionAdapterIdentifier) + # https://github.com/rails/rails/blob/bb5ac1623e8de08c1b7b62b1368758f0d3bb6379/actioncable/lib/action_cable/subscription_adapter/redis.rb#L18 ActionCable::SubscriptionAdapter::Redis.redis_connector = lambda do |config| args = config.except(:adapter, :channel_prefix) |