dbc03ce3a9
Previously for a given merge request, we would: 1. Create the array of commit SHAs involved in the push (A) 2. Request all merge request commits and map the SHA (B) 3. Reload the diff if there were any common commits between A and B We can avoid additional database querying and overhead by checking with the database whether the merge request contains any of the commit SHAs. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/53213
5 lines
132 B
YAML
5 lines
132 B
YAML
---
|
|
title: Optimize merge request refresh by using the database to check commit SHAs
|
|
merge_request: 22731
|
|
author:
|
|
type: performance
|