You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
11 months ago
..
main_test.go Add combined index for issue_user.uid and issue_id (#28080) 1 year ago
v280.go
v281.go Enhanced auth token / remember me (#27606) 1 year ago
v282.go Add Index to pull_auto_merge.doer_id (#27811) 1 year ago
v283.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v283_test.go Fix migration test (#28659) 1 year ago
v284.go Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
v285.go Fix incorrect action duration time when rerun the job before executed once (#28364) 1 year ago
v286.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v286_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v287.go Add admin API route for managing user's badges (#23106) 11 months ago
v287_test.go Fix bug hidden on CI and make ci failed if tests failure (#29254) 11 months ago
v288.go Add user blocking (#29028) 11 months ago
v289.go Make wiki default branch name changable (#29603) 11 months ago
v290.go Store webhook event in database (#29145) 11 months ago
v291.go Do some performance optimize for issues list and view issue/pull (#29515) 11 months ago