mirror of https://github.com/go-gitea/gitea.git
d8bd6f34f0
This PR do some performance optimzations. - [x] Add `index` for the column `comment_id` of `Attachment` table to accelerate query from the database. - [x] Remove unnecessary database queries when viewing issues. Before some conditions which id = 0 will be sent to the database - [x] Remove duplicated load posters - [x] Batch loading attachements, isread of comments on viewing issue --------- Co-authored-by: Zettat123 <zettat123@gmail.com> |
||
---|---|---|
.. | ||
archiver.go | ||
attachment.go | ||
attachment_test.go | ||
avatar.go | ||
collaboration.go | ||
collaboration_test.go | ||
fork.go | ||
fork_test.go | ||
git.go | ||
issue.go | ||
language_stats.go | ||
main_test.go | ||
mirror.go | ||
pushmirror.go | ||
pushmirror_test.go | ||
redirect.go | ||
redirect_test.go | ||
release.go | ||
release_test.go | ||
repo.go | ||
repo_indexer.go | ||
repo_list.go | ||
repo_list_test.go | ||
repo_test.go | ||
repo_unit.go | ||
repo_unit_test.go | ||
search.go | ||
star.go | ||
star_test.go | ||
topic.go | ||
topic_test.go | ||
update.go | ||
upload.go | ||
user_repo.go | ||
user_repo_test.go | ||
watch.go | ||
watch_test.go | ||
wiki.go | ||
wiki_test.go |