docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH
This commit is contained in:
parent
49b0a52f9f
commit
bd57b95a97
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
||||||
/**
|
/**
|
||||||
* Maximum note text length that can be stored in DB.
|
* Maximum note text length that can be stored in DB.
|
||||||
* Surrogate pairs count as one
|
* 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;
|
export const DB_MAX_NOTE_TEXT_LENGTH = 100000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue