mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-02 01:22:53 +01:00
fd2d5f06b0
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. |
||
---|---|---|
.. | ||
convert.go | ||
git_commit.go | ||
git_commit_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_test.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull.go | ||
pull_review.go | ||
pull_test.go | ||
release.go | ||
repository.go | ||
status.go | ||
user.go | ||
user_test.go | ||
utils.go | ||
utils_test.go | ||
wiki.go |