Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add indexes to country_uuids.uuid and votes.person_uuid
When generating the CSV export we do a join between these two tables on these two columns. For legislatures with lots of people, like Greece, this was starting to get very slow on Heroku. This change should help to keep the CSV export snappy and prevent timeouts.
- Loading branch information