0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-17 01:20:08 +01:00
forgejo/models
Giteabot 4c1e24864f
Order pull request conflict checking by recently updated, for each push () ()
Backport 

When a change is pushed to the default branch and many pull requests are
open for that branch, conflict checking can take some time.

Previously it would go from oldest to newest pull request. Now
prioritize pull requests that are likely being actively worked on or
prepared for merging.

This only changes the order within one push to one repository, but the
change is trivial and can already be quite helpful for smaller Gitea
instances where a few repositories have most pull requests. A global
order would require deeper changes to queues.

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-03-02 13:12:41 +08:00
..
actions Avoid too long names for actions () () 2023-02-28 13:42:40 +01:00
activities
admin
asymkey
auth Add scopes to API to create token and display them () 2023-02-20 15:28:44 -06:00
avatars Avoid warning for system setting when start up () () 2023-02-24 16:46:11 -05:00
db Fix db.Find bug () () 2023-02-24 14:05:36 +00:00
dbfs
fixtures Make CI use a dummy password hasher for all tests () 2023-02-20 13:20:30 +08:00
git
issues Order pull request conflict checking by recently updated, for each push () () 2023-03-02 13:12:41 +08:00
migrations
organization
packages
perm
project
pull
repo
secret
system Avoid warning for system setting when start up () () 2023-02-24 16:46:11 -05:00
unit
unittest Avoid warning for system setting when start up () () 2023-02-24 16:46:11 -05:00
user Avoid warning for system setting when start up () () 2023-02-24 16:46:11 -05:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Avoid warning for system setting when start up () () 2023-02-24 16:46:11 -05:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go