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

Maintain a Commit Message Queue #80

Open mpoegel opened 8 years ago

mpoegel commented 8 years ago

Because loading the most recent ten commit messages seems to be causing a lot of lag for clients, have the server maintain a queue of the 10 most recent commit messages and publish that to the clients.

Create a capped collection for this: https://docs.mongodb.org/manual/core/capped-collections/