0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-02-16 16:51:50 +01:00
gitea/models
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
..
actions Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00
activities Some performance optimization on dashboard and issues page (#29010) 2024-03-12 04:57:19 +00:00
admin
asymkey
auth
avatars
db Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-08 03:19:35 +00:00
dbfs
fixtures
git
issues Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
migrations Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
organization
packages
perm
project Partially enable MSSQL case-sensitive collation support (#29238) 2024-03-08 03:19:35 +00:00
pull
repo Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
secret Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system
unit
unittest
user remove repetitive words (#29695) 2024-03-11 09:24:23 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go