Closed johnfelipe closed 9 years ago
It's exactly as Matthew Somerville wrote in that issue. Don't do Speech.objects.all()
. Take a subset of all speeches if you want to create the word cloud in a web request. This repository takes only one hansard: https://github.com/SpringtideCollectiveOrg/openhousens.ca/blob/master/legislature/views.py#L59 Or instead, as Matthew suggests, build the word cloud outside a web request.
https://github.com/mysociety/sayit/issues/488, answer is: https://github.com/mysociety/sayit/issues/488#issuecomment-104872264, how fix that slow issue?