Fix
This commit is contained in:
parent
8f71e51041
commit
51a16ee1aa
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 = 1 * DAYS;
|
const RETENTION_PERIOD = 4 * DAYS;
|
||||||
|
|
||||||
async function cleanup() {
|
async function cleanup() {
|
||||||
const repository = getRepository(SavedMessage);
|
const repository = getRepository(SavedMessage);
|
||||||
|
|
Loading…
Add table
Reference in a new issue