mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Merge branch 'master' of github.com:zoff-music/zoff
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user