feat: video uploads up to 20 GiB via the chunked path

The dropzone rejected >2 GiB client-side while the chunked ingest allows
100 GiB server-side. Note: chunked reassembly + seal holds ~2x the file in
api RAM, so the practical ceiling on the current box is ~8-10 GiB — the
multipart-direct build removes that ceiling.
This commit is contained in:
glass beadian 2026-10-18 08:31:44 +00:00
parent 31c97a0b0a
commit 04f5f7e3aa

View file

@ -32,8 +32,8 @@ import { formatBytes } from "./format";
* One file's failure never aborts the queue.
*/
const MAX_UPLOAD_BYTES = 2 * 1024 * 1024 * 1024;
const MAX_LABEL = "2 GiB";
const MAX_UPLOAD_BYTES = 20 * 1024 * 1024 * 1024;
const MAX_LABEL = "20 GiB";
/** formatBytes would render the chunk as decimal "10.0 MB"; the slicing is binary. */
const CHUNK_LABEL = "10 MiB";