From f364c61535423d6ad5141161085eeddbb00240ae Mon Sep 17 00:00:00 2001 From: srqc <98553181+2srqc@users.noreply.github.com> Date: Sat, 21 Jan 2023 23:56:27 -0500 Subject: [PATCH] 1k message clean + 14 day search --- backend/src/plugins/Utility/commands/CleanCmd.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/Utility/commands/CleanCmd.ts b/backend/src/plugins/Utility/commands/CleanCmd.ts index 6abbb481..6bbd8519 100644 --- a/backend/src/plugins/Utility/commands/CleanCmd.ts +++ b/backend/src/plugins/Utility/commands/CleanCmd.ts @@ -11,8 +11,8 @@ import { utilityCmd, UtilityPluginType } from "../types"; import { LogsPlugin } from "../../Logs/LogsPlugin"; import { humanizeDurationShort } from "../../../humanizeDurationShort"; -const MAX_CLEAN_COUNT = 150; -const MAX_CLEAN_TIME = 1 * DAYS; +const MAX_CLEAN_COUNT = 1000; +const MAX_CLEAN_TIME = 14 * DAYS; const MAX_CLEAN_API_REQUESTS = 20; const CLEAN_COMMAND_DELETE_DELAY = 10 * SECONDS;