flyingmachine/whoops — pull request #3 by alexw668 (2011-11-07 18:09:10+00:00)
Title: Add indexes to Whoops::Event model to speed up searching 

Hi Daniel,

Please take a look at my changes and incorporate it into your code base if you think makes sense.

You may want to mention on your Whoops site (http://www.whoopsapp.com/) that autocreate_indexes: true needs to be added in mongiod.yml for the Whoops server so such indexes can be created when the server restarts.

As for making events collection capped, since there is no automatic way to convert an existing collection into a capped one, you may want to mention what needs to be done, at least for new adapters of Whoops, so from the beginning the events collection is set capped properly.

Thanks!
Alex