0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-20 19:09:04 +01:00
gitea/models/migrations/v1_22
Lunny Xiao d8bd6f34f0
Do some performance optimize for issues list and view issue/pull (#29515)
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>
2024-03-12 07:23:44 +00:00
..
main_test.go
v280.go
v281.go
v282.go
v283_test.go
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v284.go
v285.go
v286_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v286.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v287_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-07 17:43:32 +01:00
v287.go
v288.go
v289.go
v290.go Store webhook event in database (#29145) 2024-03-07 23:18:38 +01:00
v291.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00