add MAX_RECIPIENTS_PER_REQUEST comment

This commit is contained in:
shum
2026-02-18 15:22:21 +00:00
parent e9778926e3
commit 9e64919a6f
+1 -1
View File
@@ -96,7 +96,7 @@ export function encryptFileForUpload(source: Uint8Array, fileName: string): Encr
}
const DEFAULT_REDIRECT_THRESHOLD = 400
const MAX_RECIPIENTS_PER_REQUEST = 200
const MAX_RECIPIENTS_PER_REQUEST = 200 // each key is ~46 bytes; 200 keys fit within 16KB XFTP block
export interface UploadOptions {
onProgress?: (uploaded: number, total: number) => void