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.
gitea/modules/repository
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991)
Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
1 year ago
..
branch.go Fix bug for ctx usage (#26762) 1 year ago
collaborator.go
collaborator_test.go
commits.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
create.go Move createrepository from module to service layer (#26927) 1 year ago
create_test.go Move createrepository from module to service layer (#26927) 1 year ago
delete.go
env.go
fork.go
generate.go Move createrepository from module to service layer (#26927) 1 year ago
generate_test.go Substitute variables in path names of template repos too (#25294) 2 years ago
hooks.go Move createrepository from module to service layer (#26927) 1 year ago
init.go Move createrepository from module to service layer (#26927) 1 year ago
init_test.go
license.go Move createrepository from module to service layer (#26927) 1 year ago
license_test.go Move createrepository from module to service layer (#26927) 1 year ago
main_test.go move repository deletion to service layer (#26948) 1 year ago
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
repo.go Move createrepository from module to service layer (#26927) 1 year ago
temp.go