From 93ded96b130ea492c8a1a1b1bd382d20cd926fff Mon Sep 17 00:00:00 2001 From: srqc <98553181+2srqc@users.noreply.github.com> Date: Thu, 9 Feb 2023 19:30:52 -0500 Subject: [PATCH] Update messages.ts --- backend/src/data/cleanup/messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/data/cleanup/messages.ts b/backend/src/data/cleanup/messages.ts index f94b55d3..59290e63 100644 --- a/backend/src/data/cleanup/messages.ts +++ b/backend/src/data/cleanup/messages.ts @@ -8,7 +8,7 @@ import { SavedMessage } from "../entities/SavedMessage"; * 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 = 1 * DAYS; +const RETENTION_PERIOD = 30 * DAYS; const BOT_MESSAGE_RETENTION_PERIOD = 30 * MINUTES; const DELETED_MESSAGE_RETENTION_PERIOD = 5 * MINUTES; const CLEAN_PER_LOOP = 100;