gitea/services
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779)
`[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 Actions Runner rest api (#33873) 2025-04-18 15:22:41 +00:00
agit Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
asymkey Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
attachment Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
auth Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
automerge Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
context Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
contexttest Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
convert Actions Runner rest api (#33873) 2025-04-18 15:22:41 +00:00
cron Use default Git timeout when checking repo health (#33593) 2025-02-14 15:13:56 +00:00
doctor Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
externalaccount Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
feed Fix notify watch failure when the content is too long (#34233) 2025-04-20 02:49:57 +00:00
forms Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
git Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
gitdiff Mark parent directory as viewed when all files are viewed (#33958) 2025-04-15 22:35:22 +08:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue Fix panic when comment is nil (#34257) 2025-04-24 01:58:00 +00:00
lfs Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
mailer Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
markup Refactor Git Attribute & performance optimization (#34154) 2025-04-11 21:41:29 +08:00
migrations Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
mirror Refactor Branch struct in package modules/git (#33980) 2025-04-02 17:31:32 +00:00
notify Add workflow_job webhook (#33694) 2025-03-11 10:40:38 -07:00
oauth2_provider Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
org Fix bug when migrating repository (#34182) 2025-04-14 04:48:03 +00:00
packages Fix package upload temp path (#34196) 2025-04-14 18:55:02 +08:00
projects Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
pull Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
release Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repository Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
secrets Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
task Fix bug when migrating repository (#34182) 2025-04-14 04:48:03 +00:00
uinotification
user Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
versioned_migration Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +00:00
webhook Fix discord webhook 400 status code when description limit is exceeded (#34084) 2025-04-04 18:09:40 +00:00
webtheme Improve theme display (#30671) 2025-03-08 21:38:11 +00:00
wiki Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00