3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00

1k message clean + 14 day search

This commit is contained in:
srqc 2023-01-21 23:56:27 -05:00 committed by GitHub
parent 282dffde4e
commit f364c61535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;