-
- Downloads
There was an error fetching the commit references. Please try again later.
Merge branch '60449-reduce-gitaly-calls-when-rendering-commits-in-md' into 'master'
Lessen Gitaly N+1 errors in markdown processing Closes #60449 See merge request gitlab-org/gitlab-ce!31037 (cherry picked from commit e17350be) 9d6fca6f Initial commit of WIP code for consideration d82ac022 Make Rubocop happy, even though it is 100% wrong 978cf4af Cast the Gitaly commit object to a ::Commit 0e318279 If we pass in a commit object, don't attempt a lookup ab01bedb Reload the commit object if it isn't a ::Commit 8360a202 Make #extract_valid_commit_references a private method f98c77e8 Use scan instead of gsub a5b87299 Extract finding of local matches to a new method e5229999 Improve basic test of removing of N+1 situation 91d3d8c5 Add CHANGELOG entry for reduced Gitaly calls a49d1d76 Extract #set_parent_path to reduce complexity 04d7b960 Batch load commit refs found in markdown 56b3d9ba Prepend internal ivar with _ 582bec5c Fix typo in spec title 7e083b11 Track commits by their full SHA string 2d81a176 Combine and simplify guard clauses 83f3d461 Extract #records_per_parent to AbstractReferenceFilter
Showing
- changelogs/unreleased/60449-reduce-gitaly-calls-when-rendering-commits-in-md.yml 5 additions, 0 deletions...0449-reduce-gitaly-calls-when-rendering-commits-in-md.yml
- lib/banzai/filter/abstract_reference_filter.rb 18 additions, 0 deletionslib/banzai/filter/abstract_reference_filter.rb
- lib/banzai/filter/commit_reference_filter.rb 12 additions, 5 deletionslib/banzai/filter/commit_reference_filter.rb
- lib/banzai/filter/issuable_reference_filter.rb 2 additions, 16 deletionslib/banzai/filter/issuable_reference_filter.rb
- spec/lib/banzai/filter/commit_reference_filter_spec.rb 11 additions, 0 deletionsspec/lib/banzai/filter/commit_reference_filter_spec.rb
Please register or sign in to comment