gitea/templates/repo/issue/view_content
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
..
add_reaction.tmpl Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
attachments.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
comments_authorlink.tmpl Include resource state events in Gitlab downloads (#29382) 2024-02-26 05:08:21 +01:00
comments_delete_time.tmpl Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
comments.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
context_menu.tmpl Support quote selected comments to reply (#32431) 2024-11-07 03:57:07 +00:00
conversation.tmpl Fix various UI problems (#34243) 2025-04-19 08:43:22 +00:00
pull_merge_box.tmpl Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
pull_merge_instruction.tmpl Refactor repo-issue.ts (#33784) 2025-03-04 17:58:17 +00:00
reactions.tmpl Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
reference_issue_dialog.tmpl Fix various misalignments and overflows (#34227) 2025-04-17 10:32:41 +00:00
show_role.tmpl Add member, collaborator, contributor, and first-time contributor roles and tooltips (#26658) 2023-08-24 13:06:17 +08:00
sidebar.tmpl Fix bug of branch/tag selector in the issue sidebar (#32744) 2024-12-13 00:45:06 +00:00
update_branch_by_merge.tmpl Option to delay conflict checking of old pull requests until page view (#27779) 2025-04-24 19:26:57 +00:00
watching.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00