mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 21:24:03 +01:00
95e682f104
After repository commit status has been introduced on dashaboard, the most top SQL comes from `GetLatestCommitStatusForPairs`. This PR adds a cache for the repository's default branch's latest combined commit status. When a new commit status updated, the cache will be marked as invalid. <img width="998" alt="image" src="https://github.com/go-gitea/gitea/assets/81045/76759de7-3a83-4d54-8571-278f5422aed3"> (cherry picked from commit e308d25f1b2fe24b4735432b05e5e221879a2705) |
||
---|---|---|
.. | ||
archiver | ||
commitstatus | ||
files | ||
adopt.go | ||
adopt_test.go | ||
avatar.go | ||
avatar_test.go | ||
branch.go | ||
cache.go | ||
check.go | ||
collaboration.go | ||
collaboration_test.go | ||
commit.go | ||
contributors_graph.go | ||
contributors_graph_test.go | ||
create.go | ||
create_test.go | ||
delete.go | ||
delete_test.go | ||
fork.go | ||
fork_test.go | ||
generate.go | ||
generate_test.go | ||
hooks.go | ||
init.go | ||
lfs.go | ||
lfs_test.go | ||
main_test.go | ||
migrate.go | ||
push.go | ||
repository.go | ||
repository_test.go | ||
review.go | ||
review_test.go | ||
setting.go | ||
template.go | ||
transfer.go | ||
transfer_test.go |