mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH
This commit is contained in:
parent
5324d1298f
commit
3ee2dc787b
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
/**
|
||||
* Maximum note text length that can be stored in DB.
|
||||
* Surrogate pairs count as one
|
||||
*
|
||||
* NOTE: this can hypothetically be pushed further
|
||||
* (up to 250000000), but will likely cause truncations
|
||||
* and incompatibilities with other servers,
|
||||
* as well as potential performance issues.
|
||||
*/
|
||||
export const DB_MAX_NOTE_TEXT_LENGTH = 100000;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue