• Michelle Gill's avatar
    Return nil license if Gitaly is down · 64e39390
    Michelle Gill authored
    When exploring projects (/explore, /explore/projects/starred,
    /explore/projects/trending), a small license icon is displayed for "MIT", "GNU,"
    etc. That license requires a Gitaly call, so if Gitaly is unreachable or down,
    the entire page will return a 503. This MR should return nil, or an empty
    license so that the page doesn't require it in order to load.
    64e39390
projects_helper_spec.rb 32.1 KB