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/web
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
..
admin Refactor some frontend problems (#32646) 3 months ago
auth Support for email addresses containing uppercase characters when activating user account (#32998) (#33001) 2 months ago
devtest Make RepoActionView.vue support `##[group]` (#32770) 3 months ago
events Move context from modules to services (#29440) 1 year ago
explore Fix bleve fuzziness search (#33078) (#33087) 2 months ago
feed Move GetFeeds to service layer (#32526) 3 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Refactor render system (#32492) 3 months ago
org Use project's redirect url instead of composing url (#33058) (#33064) 2 months ago
repo 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
shared Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) (#32964) 2 months ago
user Fix bleve fuzziness search (#33078) (#33087) 2 months ago
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 4 months ago
githttp.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
goget.go Refactor RepoRefByType (#32413) 4 months ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) (#32964) 2 months ago
webfinger.go Move context from modules to services (#29440) 1 year ago