diff --git a/mongoconfig.js b/mongoconfig.js index 3bb7d2c..c6b8cf3 100644 --- a/mongoconfig.js +++ b/mongoconfig.js @@ -1,2 +1,3 @@ db.newsynclogs.createIndex( { "expiresAt": 1 }, { expireAfterSeconds: 0 } ); -db.newsynclogs.createIndex( { "ipAddress": 1 } ); \ No newline at end of file +db.newsynclogs.createIndex( { "ipAddress": 1 } ); +db.bookmarks.createIndex( { "lastAccessed": 1 }, { expireAfterSeconds: 21*86400 } ); \ No newline at end of file