1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
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 Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
files Add download URL for executable files (#28260) 2024-03-06 16:10:06 +00:00
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 Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
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