Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use IterateBufferSize whilst querying repositories during adoption ch…
…eck (go-gitea#19140) (go-gitea#19160) Backport go-gitea#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 go-gitea#19137 Signed-off-by: Andrew Thornton <[email protected]>
- Loading branch information