mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-15 21:45:35 +08:00
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"> |
||
|---|---|---|
| .. | ||
| cherry_pick.go | ||
| commit.go | ||
| content_test.go | ||
| content.go | ||
| diff_test.go | ||
| diff.go | ||
| file_test.go | ||
| file.go | ||
| patch.go | ||
| temp_repo.go | ||
| tree_test.go | ||
| tree.go | ||
| update.go | ||
| upload.go | ||