Merge branch 'master' of github.com:zoff-music/zoff

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-04 12:39:09 +01:00

View File

@@ -32,6 +32,7 @@ Run
```
db.chat_logs.createIndex({ "createdAt": 1 }, { expireAfterSeconds: X });
db.timeout_api.createIndex({ "createdAt": 1 }, { expireAfterSeconds: Y });
db.api_links.createIndex({ "createdAt": 1 }, { expireAfterSeconds: 86400 });
```
in mongo to have chat_logs and api be deleted after X and Y seconds.