Skip to content

Make last commit cache always available #34311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lunny
Copy link
Member

@lunny lunny commented Apr 29, 2025

This PR removed the COMMITS_COUNT from cache.last_commit. So that the last commit cache will be applied to every repository.

Then the last commit cache will not depend on commits counting which is very slow.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 29, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Apr 29, 2025
@lunny lunny force-pushed the lunny/refactor_lastcommitcache branch from fdc031c to f130838 Compare April 29, 2025 16:42
@github-actions github-actions bot added the docs-update-needed The document needs to be updated synchronously label Apr 29, 2025
@lunny lunny force-pushed the lunny/refactor_lastcommitcache branch from 9ce431d to e5726f8 Compare April 29, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-update-needed The document needs to be updated synchronously lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants