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

Positions filter times out #72

Closed
jacebrowning opened this issue Oct 17, 2018 · 2 comments · Fixed by #113
Closed

Positions filter times out #72

jacebrowning opened this issue Oct 17, 2018 · 2 comments · Fixed by #113
Assignees
Labels
bug Something isn't working skill:drf

Comments

@jacebrowning jacebrowning added the bug Something isn't working label Oct 17, 2018
@jacebrowning jacebrowning self-assigned this Oct 17, 2018
@jacebrowning
Copy link
Member Author

jacebrowning commented Oct 26, 2018

Simply filtering by Ward is enough to see the performance issue: http://michiganelections.io/api/positions/?precinct_ward=1&precinct_number=2

@jacebrowning
Copy link
Member Author

The issue seems to be that each additional filter creates a nested JOIN in https://github.com/carltongibson/django-filter. I think I'm going to need help with this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working skill:drf
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant