docker-compose/examples/xbrowsersync/conf/mongoconfig.js

3 lines
211 B
JavaScript
Raw Permalink Normal View History

2024-10-11 01:18:00 +08:00
db.newsynclogs.createIndex( { "expiresAt": 1 }, { expireAfterSeconds: 0 } );
db.newsynclogs.createIndex( { "ipAddress": 1 } );
db.bookmarks.createIndex( { "lastAccessed": 1 }, { expireAfterSeconds: 21*86400 } );