emgram769/live4chan — pull request #46 by ccd0 (2014-01-18 16:26:30+00:00)
Title: don't use capped collection -- too inflexible

Using a capped collection makes it troublesome to modify posts and impossible to delete them (we could void them, but they'd still contribute to the max number of posts).

To convert the existing chat_dbs to a non-capped collection:

use livechan_db
db.chat_dbs.copyTo("chat_dbs2")
db.chat_dbs.drop()
db.chat_dbs2.renameCollection("chat_dbs")