mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 10:25:01 +00:00
Update messages.ts
This commit is contained in:
parent
3761f8a568
commit
93ded96b13
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { SavedMessage } from "../entities/SavedMessage";
|
||||||
* How long message edits, deletions, etc. will include the original message content.
|
* How long message edits, deletions, etc. will include the original message content.
|
||||||
* This is very heavy storage-wise, so keeping it as low as possible is ideal.
|
* This is very heavy storage-wise, so keeping it as low as possible is ideal.
|
||||||
*/
|
*/
|
||||||
const RETENTION_PERIOD = 1 * DAYS;
|
const RETENTION_PERIOD = 30 * DAYS;
|
||||||
const BOT_MESSAGE_RETENTION_PERIOD = 30 * MINUTES;
|
const BOT_MESSAGE_RETENTION_PERIOD = 30 * MINUTES;
|
||||||
const DELETED_MESSAGE_RETENTION_PERIOD = 5 * MINUTES;
|
const DELETED_MESSAGE_RETENTION_PERIOD = 5 * MINUTES;
|
||||||
const CLEAN_PER_LOOP = 100;
|
const CLEAN_PER_LOOP = 100;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue