0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 16:14:21 +01: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.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
adopt_test.go
avatar.go
avatar_test.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.go
collaboration_test.go
commit.go
contributors_graph.go
contributors_graph_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
create_test.go
delete.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
delete_test.go
fork.go
fork_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
generate_test.go
hooks.go
init.go
lfs.go
lfs_test.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.go
repository_test.go
review.go
review_test.go
setting.go
template.go
transfer.go
transfer_test.go