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
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
..
activitypub Move context from modules to services (#29440) 11 months ago
admin Skip email domain check when admins edit user emails (#29609) 11 months ago
misc Fix wrong test usage of `AppSubURL` (#29459) 11 months ago
notify Move context from modules to services (#29440) 11 months ago
org Add user blocking (#29028) 11 months ago
packages remove util.OptionalBool and related functions (#29513) 11 months ago
repo Cache repository default branch commit status to reduce query on commit status table (#29444) 11 months ago
settings Move context from modules to services (#29440) 11 months ago
shared Add user blocking (#29028) 11 months ago
swagger Add admin API route for managing user's badges (#23106) 11 months ago
user Add user blocking (#29028) 11 months ago
utils Move context from modules to services (#29440) 11 months ago
api.go Add user blocking (#29028) 11 months ago