3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
This commit is contained in:
Dragory 2020-05-28 02:37:14 +03:00
parent 51a16ee1aa
commit ca9af4f24e
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -12,7 +12,7 @@ const CLEANUP_INTERVAL = 5 * MINUTES;
* How long message edits, deletions, etc. will include the original message content.
* This is very heavy storage-wise, so keeping it as low as possible is ideal.
*/
const RETENTION_PERIOD = 4 * DAYS;
const RETENTION_PERIOD = 1 * DAYS;
async function cleanup() {
const repository = getRepository(SavedMessage);