Commit 9d0ef60d authored by Yorick Peterse's avatar Yorick Peterse

Merge branch '18924-gitlab-ce-tags-page-is-not-working-502-read-timeout' into 'master'

Use memorized tags array when searching tags by name

See merge request !4859
parents 8ef64958 8fdd419a
......@@ -9,6 +9,7 @@ v 8.10.0 (unreleased)
v 8.9.1
- Fix GitLab project import issues related to notes and builds
- Improve performance of searching repository tags by name by using a memorized tag array
- Fix 404 when accessing pipelines as guest user on public projects
v 8.9.0
......
......@@ -130,7 +130,7 @@ class Repository
end
def find_tag(name)
raw_repository.tags.find { |tag| tag.name == name }
tags.find { |tag| tag.name == name }
end
def add_branch(user, branch_name, target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment