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>
2022-03-22 09:11:22 +08:00
..
2022-01-10 17:32:37 +08:00
2022-01-02 21:12:35 +08:00
2021-12-12 23:48:20 +08:00
2022-01-14 16:03:31 +01:00
2022-01-14 16:03:31 +01:00
2021-12-12 23:48:20 +08:00
2021-12-10 16:14:24 +08:00
2022-01-05 15:00:20 -06:00
2022-01-10 17:32:37 +08:00