1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-18 10:45:48 +02:00

use const

This commit is contained in:
tamaina
2024-03-01 07:27:43 +00:00
parent 0aa316ee12
commit fd71ad7a5f
3 changed files with 10 additions and 3 deletions

View File

@@ -8,6 +8,11 @@ export const MAX_NOTE_TEXT_LENGTH = 3000;
export const USER_ONLINE_THRESHOLD = 1000 * 60 * 10; // 10min
export const USER_ACTIVE_THRESHOLD = 1000 * 60 * 60 * 24 * 3; // 3days
export const REMOTE_USER_CACHE_TTL = 1000 * 60 * 60 * 3; // 3hours
export const REMOTE_USER_MOVE_COOLDOWN = 1000 * 60 * 60 * 24 * 14; // 14days
export const REMOTE_SERVER_CACHE_TTL = 1000 * 60 * 60 * 3; // 3hours
//#region hard limits
// If you change DB_* values, you must also change the DB schema.