mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Fix 2
This commit is contained in:
parent
51a16ee1aa
commit
ca9af4f24e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const CLEANUP_INTERVAL = 5 * MINUTES;
|
||||||
* How long message edits, deletions, etc. will include the original message content.
|
* 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.
|
* 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() {
|
async function cleanup() {
|
||||||
const repository = getRepository(SavedMessage);
|
const repository = getRepository(SavedMessage);
|
||||||
|
|
Loading…
Add table
Reference in a new issue