-
Deal with Rails autoload instance variable resets · 8eb35066Jacob 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
×