1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-08 00:18:17 +00:00
gitea/tests
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
..
e2e Enable addtional linters () 2025-04-01 10:14:01 +00:00
fuzz Fix fuzz test () 2025-01-09 15:15:47 +08:00
gitea-lfs-meta Test views of LFS files () 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Support choose email when creating a commit via web UI (more) () 2025-01-31 02:36:18 +00:00
integration Option to delay conflict checking of old pull requests until page view () 2025-04-24 19:26:57 +00:00
testdata/data Add artifacts test fixture () 2024-11-01 10:29:54 +08:00
mssql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
mysql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
pgsql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
sqlite.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
test_utils.go Uniform all temporary directories and allow customizing temp path () 2025-04-08 16:15:28 +00:00