Commit d54189d0 authored by Max Woolf's avatar Max Woolf Committed by Adam Hegyi

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

Changelog: fixed
parent 63bf35e0
...@@ -73,7 +73,7 @@ module Gitlab ...@@ -73,7 +73,7 @@ module Gitlab
# To prevent this from happening, we scope sticking to all the # To prevent this from happening, we scope sticking to all the
# models that support load balancing. In the future (if we # models that support load balancing. In the future (if we
# determined this to be OK) we may be able to relax this. # 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] [model, :user, warden.user.id]
end end
elsif env[STICK_OBJECT].present? 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