mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 13:19:26 +01:00
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> |
||
---|---|---|
.. | ||
main_test.go | ||
v280.go | ||
v281.go | ||
v282.go | ||
v283_test.go | ||
v283.go | ||
v284.go | ||
v285.go | ||
v286_test.go | ||
v286.go | ||
v287_test.go | ||
v287.go | ||
v288.go | ||
v289.go | ||
v290.go | ||
v291.go |