• S
    Cache FindCommit results in pipelines view · e37383d4
    Stan Hu 提交于
    For each pipeline, the controller will call `Pipeline#latest?` to
    determine if the pipeline's ref is the latest for that branch.
    Since it's likely that the same branches are being used in each
    pipeline, we can reduce Gitaly overhead by caching the results
    of the FindCommit call.
    e37383d4
pipelines_controller_spec.rb 11.9 KB