diff options
author | Giteabot <teabot@gitea.io> | 2025-01-08 10:43:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 10:43:46 +0800 |
commit | b4f0eed9698c648f5c0b1b7a907ccce0b627b4ac (patch) | |
tree | 69e8a7115f7da3d46c40c3f9ec8308e47361061f /templates/shared/actions | |
parent | 63b3a33bf2f1de6318e269cfd0d9315472d796d2 (diff) | |
download | gitea-release/v1.23.tar.gz gitea-release/v1.23.zip |
Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) (#33128)release/v1.23
Backport #33106 by @lunny
This PR fixes a performance problem when reviewing a pull request in a
big instance which have many records in the `review` table.
Traditionally, we should add more indexes in that table. But since
dismissed reviews of 1 pull request will not be too many as expected in
a common repository. Filtering reviews in the memory should be more
quick .
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/shared/actions')
0 files changed, 0 insertions, 0 deletions