You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
Gennady Kovshenin fd2d5f06b0
Add `stat` to `ToCommit` function for speed (#21337)
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.
2 years ago
..
api Add `stat` to `ToCommit` function for speed (#21337) 2 years ago
common Rework raw file http header logic (#20484) 2 years ago
install Share HTML template renderers and create a watcher framework (#20218) 2 years ago
private Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
utils refactor webhook *NewPost (#20729) 2 years ago
web Tag list should include draft releases with existing tags (#21263) 2 years ago
init.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago