summaryrefslogtreecommitdiff
path: root/packages/backend/src/const.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/const.ts')
-rw-r--r--packages/backend/src/const.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/backend/src/const.ts b/packages/backend/src/const.ts
index 7cc22a5421..adb0a63ad7 100644
--- a/packages/backend/src/const.ts
+++ b/packages/backend/src/const.ts
@@ -3,30 +3,11 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-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 PER_NOTE_REACTION_USER_PAIR_CACHE_MAX = 16;
-//#region hard limits
-// If you change DB_* values, you must also change the DB schema.
-
-/**
- * Maximum note text length that can be stored in DB.
- * Content Warnings are included in this limit.
- * Surrogate pairs count as one
- */
-export const DB_MAX_NOTE_TEXT_LENGTH = 100000;
-
-/**
- * Maximum image description length that can be stored in DB.
- * Surrogate pairs count as one
- */
-export const DB_MAX_IMAGE_COMMENT_LENGTH = 100000;
-//#endregion
-
// ブラウザで直接表示することを許可するファイルの種類のリスト
// ここに含まれないものは application/octet-stream としてレスポンスされる
// SVGはXSSを生むので許可しない