Skip to content

Use persisted/memoized value for MRs sha's instead of doing git lookups

Alejandro Rodríguez requested to merge mr-commit-optimization into master

What does this MR do?

Use persisted/memoized value for MRs sha's instead of doing git lookups

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

Commit lookup can be very costly, especially in a post-Gitaly world and considering that Merge Requests get queried a lot on AJAX requests

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Helps with gitaly#1055 (closed)

Edited by Alejandro Rodríguez

Merge request reports