]> source.dussan.org Git - gitea.git/commit
Remove the parallelizing when loading repo for dashboard (#24705)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 14 May 2023 13:45:47 +0000 (21:45 +0800)
committerGitHub <noreply@github.com>
Sun, 14 May 2023 13:45:47 +0000 (21:45 +0800)
commit3af2c8e4ab4dca53a16ead9940a0ac4752072045
treebd5c07ff8c26ab936c13c536e5c9d76b2e9abfbc
parent116f8e12a7db9572161eaba064f71a384ad6eb37
Remove the parallelizing when loading repo for dashboard (#24705)

Ref: #24638

IMO, parallelizing might run out server resources more quickly. Gitea
shouldn't use a lot of go-routine in a web handler.

And add a comment about how many repositories there could be at most.

Co-authored-by: Yarden Shoham <git@yardenshoham.com>
routers/web/repo/repo.go