mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
Update messages.ts
This commit is contained in:
parent
bce15b1cfa
commit
5ccc0f4cfc
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import { SavedMessage } from "../entities/SavedMessage";
|
|||
*/
|
||||
const RETENTION_PERIOD = 30 * DAYS;
|
||||
const BOT_MESSAGE_RETENTION_PERIOD = 30 * MINUTES;
|
||||
const DELETED_MESSAGE_RETENTION_PERIOD = 5 * MINUTES;
|
||||
const DELETED_MESSAGE_RETENTION_PERIOD = RETENTION_PERIOD; // Because of the archive command, we want to keep those, too
|
||||
const CLEAN_PER_LOOP = 100;
|
||||
|
||||
export async function cleanupMessages(): Promise<number> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue