Skip to content
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

Fix commit caching for PRs with too many commits #444

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

bluekeyes
Copy link
Member

Previously, when PRs exceeded the 250 commit limit, we would reload all
commits for each rule that did anything with commits. This is obviously
wasteful, so cache the commits regardless of number so we can return an
error immediately on future method calls.

Previously, when PRs exceeded the 250 commit limit, we would reload all
commits for each rule that did anything with commits. This is obviously
wasteful, so cache the commits regardless of number so we can return an
error immediately on future method calls.
@bluekeyes bluekeyes requested a review from a team June 23, 2022 23:52
@bluekeyes bluekeyes merged commit 1cbcb36 into develop Jun 24, 2022
@bluekeyes bluekeyes deleted the bkeyes/cache-large-commits branch June 24, 2022 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants