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

feat(server): greatly optimizing Branch.commits & Query.streams, when limit=0 #3863

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

fabis94
Copy link
Contributor

@fabis94 fabis94 commented Jan 22, 2025

when limit === 0, there should be a lot less SQL queries

@@ -107,37 +107,44 @@ export const loggingPluginFactory: (deps: {
apollo_query_duration_ms: Date.now() - apolloRequestStart
})

for (const err of ctx.errors) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the reason why there were many "req failed" entries logged for a single request

@gjedlicska gjedlicska merged commit b074a4a into main Jan 23, 2025
26 of 28 checks passed
@gjedlicska gjedlicska deleted the fabians/optimize-branch-commits branch January 23, 2025 17:54
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