Commit 105179f7 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch 'mw/load-balancer-middleware-bug' into 'master'

Replace calls to LoadBalancing with ::Gitlab::Database::LoadBalancing

See merge request gitlab-org/gitlab!72205
parents 0ac2f3df d54189d0
......@@ -73,7 +73,7 @@ module Gitlab
# To prevent this from happening, we scope sticking to all the
# models that support load balancing. In the future (if we
# determined this to be OK) we may be able to relax this.
LoadBalancing.base_models.map do |model|
::Gitlab::Database::LoadBalancing.base_models.map do |model|
[model, :user, warden.user.id]
end
elsif env[STICK_OBJECT].present?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment