• Jacob Vosmaer's avatar
    Deal with Rails autoload instance variable resets · 8eb35066
    Jacob Vosmaer authored
    Rails auto-load (a development feature) can end up resetting instance
    variables on classes. This breaks Gitlab::GitalyClient, which uses
    instance variables to keep global hashes to look up channels and
    addresses. This change adds code that regenerates the hashes if they
    suddenly become nil.
    8eb35066
gitaly_client.rb 2.57 KB