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/routers/api/v1/repo
Lunny Xiao e308d25f1b
Cache repository default branch commit status to reduce query on commit status table (#29444)
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">
11 months ago
..
action.go Move context from modules to services (#29440) 11 months ago
avatar.go Move context from modules to services (#29440) 11 months ago
blob.go Move context from modules to services (#29440) 11 months ago
branch.go Move context from modules to services (#29440) 11 months ago
collaborators.go Add user blocking (#29028) 11 months ago
commits.go Move context from modules to services (#29440) 11 months ago
file.go Fix missed return (#29450) 11 months ago
fork.go Add user blocking (#29028) 11 months ago
git_hook.go Move context from modules to services (#29440) 11 months ago
git_ref.go Move context from modules to services (#29440) 11 months ago
hook.go Move context from modules to services (#29440) 11 months ago
hook_test.go Move context from modules to services (#29440) 11 months ago
issue.go Add missing database transaction for new issue (#29490) 11 months ago
issue_attachment.go Move context from modules to services (#29440) 11 months ago
issue_comment.go Add user blocking (#29028) 11 months ago
issue_comment_attachment.go Add user blocking (#29028) 11 months ago
issue_dependency.go Move context from modules to services (#29440) 11 months ago
issue_label.go Move context from modules to services (#29440) 11 months ago
issue_pin.go Move context from modules to services (#29440) 11 months ago
issue_reaction.go Add user blocking (#29028) 11 months ago
issue_stopwatch.go Move context from modules to services (#29440) 11 months ago
issue_subscription.go Move context from modules to services (#29440) 11 months ago
issue_tracked_time.go Move context from modules to services (#29440) 11 months ago
key.go Move context from modules to services (#29440) 11 months ago
label.go Move context from modules to services (#29440) 11 months ago
language.go Move context from modules to services (#29440) 11 months ago
main_test.go make writing main test easier (#27270) 1 year ago
migrate.go Move context from modules to services (#29440) 11 months ago
milestone.go remove util.OptionalBool and related functions (#29513) 11 months ago
mirror.go Move context from modules to services (#29440) 11 months ago
notes.go Move context from modules to services (#29440) 11 months ago
patch.go Move context from modules to services (#29440) 11 months ago
pull.go Add user blocking (#29028) 11 months ago
pull_review.go Move context from modules to services (#29440) 11 months ago
release.go Fix 500 when pushing release to an empty repo (#29554) 11 months ago
release_attachment.go Add support for API blob upload of release attachments (#29507) 11 months ago
release_tags.go Move context from modules to services (#29440) 11 months ago
repo.go Enable/disable owner and repo projects independently (#28805) 11 months ago
repo_test.go Move context from modules to services (#29440) 11 months ago
runners.go Move context from modules to services (#29440) 11 months ago
star.go Move context from modules to services (#29440) 11 months ago
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 11 months ago
subscriber.go Move context from modules to services (#29440) 11 months ago
tag.go Move context from modules to services (#29440) 11 months ago
teams.go Move context from modules to services (#29440) 11 months ago
topic.go Move context from modules to services (#29440) 11 months ago
transfer.go Add user blocking (#29028) 11 months ago
tree.go Move context from modules to services (#29440) 11 months ago
wiki.go Move context from modules to services (#29440) 11 months ago