From 04f5f7e3aa84d018e0aa7f5552fd46b25d73e836 Mon Sep 17 00:00:00 2001 From: glass beadian Date: Sun, 18 Oct 2026 08:31:44 +0000 Subject: [PATCH] feat: video uploads up to 20 GiB via the chunked path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- apps/web/src/components/video/upload-dropzone.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/video/upload-dropzone.tsx b/apps/web/src/components/video/upload-dropzone.tsx index ed79e3c..cae2ae8 100644 --- a/apps/web/src/components/video/upload-dropzone.tsx +++ b/apps/web/src/components/video/upload-dropzone.tsx @@ -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";