Increase messages CLEAN_PER_LOOP to 500
This commit is contained in:
parent
59918858ec
commit
3795ce6f1b
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import { connection } from "../db";
|
|||
const RETENTION_PERIOD = 1 * DAYS;
|
||||
const BOT_MESSAGE_RETENTION_PERIOD = 30 * MINUTES;
|
||||
const DELETED_MESSAGE_RETENTION_PERIOD = 5 * MINUTES;
|
||||
const CLEAN_PER_LOOP = 250;
|
||||
const CLEAN_PER_LOOP = 500;
|
||||
|
||||
export async function cleanupMessages(): Promise<number> {
|
||||
let cleaned = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue