chore(notes): halve sticky-notes plaintext cap to 256 KiB

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
This commit is contained in:
bluebluesodaandCommandCodeBot committed 2026-09-05 08:27:23 +00:00
1 parent 48d8cafe2f
commit b1d40a1107
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ const (
// the client before encryption. MaxNotesBlobBytes caps the stored
// (base64) encrypted envelope on the server, leaving room for the GCM tag,
// salt and IV plus base64 expansion.
MaxNotesPlaintextBytes = 512 * 1024
MaxNotesPlaintextBytes = 256 * 1024
MaxNotesBlobBytes = 700 * 1024
// Bandwidth throttle: when a user exceeds their monthly quota, both