Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Order pull request conflict checking by recently updated, for each pu…
…sh (go-gitea#23220) 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.
- Loading branch information