gitea/services/repository
Lunny Xiao 930bae2300
Add cache for branch divergence on branch list page (#29577)
The branch page for blender project will take 6s because calculating
divergence is very slow.
This PR will add a cache for the branch divergence calculation. So when
the second visit the branch list, it will take only less 200ms.
2024-03-08 10:21:24 +00:00
..
archiver
commitstatus
files
adopt_test.go
adopt.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
avatar_test.go
avatar.go
branch.go Add cache for branch divergence on branch list page (#29577) 2024-03-08 10:21:24 +00:00
cache.go
check.go
collaboration_test.go
collaboration.go
commit.go
contributors_graph_test.go
contributors_graph.go
create_test.go
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
delete_test.go
delete.go
fork_test.go
fork.go
generate_test.go
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
hooks.go
init.go
lfs_test.go
lfs.go
main_test.go
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
push.go Add cache for branch divergence on branch list page (#29577) 2024-03-08 10:21:24 +00:00
repository_test.go
repository.go
review_test.go
review.go
setting.go
template.go
transfer_test.go
transfer.go