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 diff limit/offset logic #5663

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

ajtmccarty
Copy link
Contributor

the logic of limiting/offsetting nodes when retrieving a diff from the database was not working correctly

the problem was that the query to retrieve a diff has an internal limit that we enforce to prevent crashing the database when retrieving too much data and this was interacting with the limit/offset requested by the user incorrectly

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Feb 3, 2025
Copy link

codspeed-hq bot commented Feb 3, 2025

CodSpeed Performance Report

Merging #5663 will not alter performance

Comparing ajtm-02032025-diff-limit-fix (801f988) with stable (8fe600b)

Summary

✅ 11 untouched benchmarks

@ajtmccarty ajtmccarty marked this pull request as ready for review February 3, 2025 21:31
@ajtmccarty ajtmccarty requested a review from a team February 3, 2025 21:31
@ajtmccarty
Copy link
Contributor Author

please merge if approved

@ajtmccarty ajtmccarty merged commit 24b180b into stable Feb 3, 2025
32 checks passed
@ajtmccarty ajtmccarty deleted the ajtm-02032025-diff-limit-fix branch February 3, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants