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

cleanup and optimize naive query filters #125

Merged
merged 3 commits into from
Apr 9, 2019
Merged

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Apr 9, 2019

Mostly, avoid ResultsWithChan as it isn't possible to properly cancel a query with this helper. We were also, somehow, concurrently calling close and next (which was breaking a different PR I'm working on).

This should also improve performance by getting rid of a bunch of goroutines.

@ghost ghost assigned Stebalien Apr 9, 2019
@ghost ghost added the status/in-progress In progress label Apr 9, 2019
It's impossible to cancel this correctly. This patch also tries to avoid
goroutines whenever possible.
@Stebalien Stebalien merged commit 5525660 into master Apr 9, 2019
@Stebalien Stebalien deleted the fix/cleanup-query branch April 9, 2019 17:32
@ghost ghost removed the status/in-progress In progress label Apr 9, 2019
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