hack-rpi / Status-Board

Hackathon commit messages, announcements, mentor requests, and more, all in one place!
https://status.hackrpi.com
MIT License
14 stars 5 forks source link

Add MongoDB indexes for sorted and queried fields #6

Closed brianhelba closed 9 years ago

brianhelba commented 9 years ago

The CommitMessages collection needs to be indexed on "date", as it is sorted on that field.

Other collections' fields probably need to be explicitly indexed too.

mpoegel commented 9 years ago

index the "sha" field in the CommitMessages collection

mpoegel commented 9 years ago

tentatively fixed. I will continue to add indexes as I see the need.