aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/auth/captcha.tmpl
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2024-07-04 20:57:11 +0200
committerGitHub <noreply@github.com>2024-07-04 18:57:11 +0000
commitb88e5fc72d99e9d4a0aa9c13f70e0a9e967fe057 (patch)
treed7eb75e4c85fcf3e8fec33be24bb13c36488a531 /templates/user/auth/captcha.tmpl
parent2c92c7c5226e29636a1d47a277130f477fa2037b (diff)
downloadgitea-b88e5fc72d99e9d4a0aa9c13f70e0a9e967fe057.tar.gz
gitea-b88e5fc72d99e9d4a0aa9c13f70e0a9e967fe057.zip
Fix slow patch checking with commits that add or remove many files (#31548)
Running git update-index for every individual file is slow, so add and remove everything with a single git command. When such a big commit lands in the default branch, it could cause PR creation and patch checking for all open PRs to be slow, or time out entirely. For example, a commit that removes 1383 files was measured to take more than 60 seconds and timed out. With this change checking took about a second. This is related to #27967, though this will not help with commits that change many lines in few files.
Diffstat (limited to 'templates/user/auth/captcha.tmpl')
0 files changed, 0 insertions, 0 deletions