• Heinrich Lee Yu's avatar
    Store the load balancer proxy in ActiveRecord · ea8ccad6
    Heinrich Lee Yu authored
    Currently we are storing this in a class instance variable in
    Gitlab::Database::LoadBalancing. This class is auto-loaded which
    means it is also unloaded when a Ruby change is detected.
    
    This moves this to a class instance variable in ActiveRecord::Base
    ea8ccad6
load_balancing_spec.rb 25.1 KB