BigW Consortium Gitlab

Skip to content
  • Jacob Vosmaer's avatar
    8eb35066
    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
    Deal with Rails autoload instance variable resets
    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.
Loading