From a011d4524dc0f6a6a2dbec038c1de67e4e16c298 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 28 May 2020 03:13:34 +0300 Subject: [PATCH] Push cleanup interval back to 5min --- backend/src/data/GuildSavedMessages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/data/GuildSavedMessages.ts b/backend/src/data/GuildSavedMessages.ts index 47366b05..394035fe 100644 --- a/backend/src/data/GuildSavedMessages.ts +++ b/backend/src/data/GuildSavedMessages.ts @@ -8,7 +8,7 @@ import { DAYS, MINUTES } from "../utils"; import { isAPI } from "../globals"; import { connection } from "./db"; -const CLEANUP_INTERVAL = 1 * MINUTES; +const CLEANUP_INTERVAL = 5 * MINUTES; /** * How long message edits, deletions, etc. will include the original message content.