summaryrefslogtreecommitdiff
path: root/packages/backend/src/misc
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-12-25 14:22:23 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-12-25 14:22:23 +0900
commitf44a7e25361b1cee202c744ced4f988e658209b8 (patch)
treeb0786f17f0dc22bd7c6985c2453cb6debc3bbce7 /packages/backend/src/misc
parentfeat: introduce retention-rate aggregation (diff)
downloadmisskey-f44a7e25361b1cee202c744ced4f988e658209b8.tar.gz
misskey-f44a7e25361b1cee202c744ced4f988e658209b8.tar.bz2
misskey-f44a7e25361b1cee202c744ced4f988e658209b8.zip
refactor
Diffstat (limited to 'packages/backend/src/misc')
-rw-r--r--packages/backend/src/misc/hard-limits.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/backend/src/misc/hard-limits.ts b/packages/backend/src/misc/hard-limits.ts
deleted file mode 100644
index 1039f7335a..0000000000
--- a/packages/backend/src/misc/hard-limits.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// If you change DB_* values, you must also change the DB schema.
-
-/**
- * Maximum note text length that can be stored in DB.
- * Surrogate pairs count as one
- */
-export const DB_MAX_NOTE_TEXT_LENGTH = 8192;
-
-/**
- * Maximum image description length that can be stored in DB.
- * Surrogate pairs count as one
- */
-export const DB_MAX_IMAGE_COMMENT_LENGTH = 512;