• Thong Kuah's avatar
    Remove need to call gitaly in ProjectPipelineStatus · b12be5c7
    Thong Kuah authored
    Calling commit (gitaly) is un-nessary just to obtain the sha, for the
    cache key. In fact, the cache key does not need to have the sha as the
    sha is part of the cache value. The new cache key should be unique
    enough for each project.
    
    This saves us 20 gitaly calls on the dashboard page (assuming we have
    one full page of projects).
    b12be5c7
project_pipeline_status_spec.rb 9.67 KB