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/routers
Giteabot b4f0eed969
Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) (#33128)
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>
2 months ago
..
api Fix package error handling and npm meta and empty repo guide (#33112) 2 months ago
common Fix bleve fuzziness search (#33078) (#33087) 2 months ago
install Save initial signup information for users to aid in spam prevention (#31852) 6 months ago
private Enable tenv and testifylint rules (#32852) 2 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) (#33128) 2 months ago
init.go Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) (#32964) 2 months ago