rjbernaldo/hivemind — pull request #57 by amolborcar (2014-08-05 23:33:27+00:00)
Title: Added code to repair database

Added db.repairDatabase() command in the hourly cleaning of hashtag counts. This will remove all unused indices and should consistently keep the size of the DB within acceptable range. Also should prevent the need to restart heroku, since the database will not get overloaded.