Forekasting/kiwi — pull request #188 by netikular (2014-10-26 01:04:16+00:00)
Title: Removed a strange query that looked back over all the events in the syst...

Ok, so, I did two things to improve the speed of loading the first page.

First was to add oj as the JSON parse, this shaved off 4 seconds in my test environment.
Second, I made it so that forekast is not returning ALL THE EVETNS.

I don't know why the query below would return all the events (lack of mongo experience) but on my test environment it was returning all 10k events that I created over a month ago.

All tests still pass.