mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-03-28 15:36:56 +00:00
Calls to ToCommit are very slow due to fetching diffs, analyzing files. This patch lets us supply `stat` as false to speed fetching a commit when we don't need the diff. /v1/repo/commits has a default `stat` set as true now. Set to false to experience fetching thousands of commits per second instead of 2-5 per second.
5.7 KiB
5.7 KiB