iceshrimp-161sh/src/misc/hard-limits.ts

9 lines
207 B
TypeScript

// 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;