You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
zeripath 23b8214549
Use IterateBufferSize whilst querying repositories during adoption check (#19140) (#19160)
Backport #19140

The adoption page checks directories to see if they are repositories by querying the
db on a per user basis. This can lead to problems if a user has a large number of
repositories or putative repositories.

This PR changes the buffering to check the db in IterataeBufferSize batches instead.

Fix #19137

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
agit Fix various typos (#18219) 3 years ago
asymkey Refactor auth package (#17962) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Fix login with email panic when email is not exist (#18942) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Some repository refactors (#17950) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Support webauthn (#17957) 3 years ago
gitdiff Bump to build with go1.18 (#19120 et al) (#19127) 3 years ago
issue Restore propagation of ErrDependenciesLeft (#18325) 3 years ago
lfs Support webauthn (#17957) 3 years ago
mailer Do not send notification emails to inactive users (#19131) (#19139) 3 years ago
migrations Make migrations SKIP_TLS_VERIFY apply to git too (#19132) (#19141) 3 years ago
mirror Refactor mirror code & fix `StartToMirror` (#18904) (#19075) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Detect conflicts with 3way merge (#18536) (#18537) 3 years ago
release Set HeadCommit when creating tags. (#18116) 3 years ago
repository Use IterateBufferSize whilst querying repositories during adoption check (#19140) (#19160) 3 years ago
task Some repository refactors (#17950) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add replay of webhooks. (#18191) 3 years ago
wiki Fix various typos (#18219) 3 years ago