gitea/templates
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
..
admin Align User Details Page Header Layout with Design Specifications (#34192) 2025-04-15 01:16:33 -04:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Prepare common tmpl functions in a middleware (#33957) 2025-03-25 06:17:58 +00:00
custom
devtest markup: improve code block readability and isolate copy button (#34009) 2025-04-19 05:53:39 +00:00
explore Fix span svg layout (#34185) 2025-04-13 12:44:57 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
package refactor organization menu (#33928) 2025-04-10 12:12:55 -07:00
projects Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
repo Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
shared Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
status Add middleware for request prioritization (#33951) 2025-04-14 16:25:48 +02:00
swagger Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
user Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations (#31950) 2024-09-02 18:36:24 +00:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
post-install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00