From 9e64919a6fa79c9c0269cda05be0353ffbc00e3c Mon Sep 17 00:00:00 2001 From: shum Date: Wed, 18 Feb 2026 15:22:21 +0000 Subject: [PATCH] add MAX_RECIPIENTS_PER_REQUEST comment --- xftp-web/src/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xftp-web/src/agent.ts b/xftp-web/src/agent.ts index 8dc55a9b2..509acecef 100644 --- a/xftp-web/src/agent.ts +++ b/xftp-web/src/agent.ts @@ -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