0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-04-27 16:56:13 +02:00
gitea/services
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view ()
`[repository.pull-request] DELAY_CHECK_FOR_INACTIVE_DAYS` is a new
setting to delay the mergeable check for pull requests that have been
inactive for the specified number of days.

This avoids potentially long delays for big repositories with many pull
requests. and reduces system load overall when there are many
repositories or pull requests.

When viewing the PR, checking will start immediately and the PR merge
box will automatically reload when complete. Accessing the PR through
the API will also start checking immediately.

The default value of `7` provides a balance between system load, and
keeping behavior similar to what it was before both for users and API
access. With `0` all conflict checking will be delayed, while `-1`
always checks immediately to restore the previous behavior.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-24 19:26:57 +00:00
..
actions
agit Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
asymkey
attachment
auth
automerge Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
context Improve "not found" error messages for API () 2025-04-23 17:42:50 +08:00
contexttest Add API endpoint to request contents of multiple files simultaniously () 2025-04-22 01:20:11 +08:00
convert
cron
doctor
externalaccount
feed Fix notify watch failure when the content is too long () 2025-04-20 02:49:57 +00:00
forms Add API routes to lock and unlock issues () 2025-04-21 00:43:43 +00:00
git
gitdiff
indexer
issue Fix panic when comment is nil () 2025-04-24 01:58:00 +00:00
lfs
mailer
markup
migrations Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
mirror
notify
oauth2_provider
org
packages
projects
pull Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
release
repository Add API endpoint to request contents of multiple files simultaniously () 2025-04-22 01:20:11 +08:00
secrets
task
uinotification
user
versioned_migration
webhook
webtheme
wiki