From 22ed99da86da31724bbfb0ecd4e57da410e10c9b Mon Sep 17 00:00:00 2001 From: b3ni15 Date: Thu, 16 Oct 2025 13:12:05 +0200 Subject: [PATCH] refactor: Adjust chunk size to 4 MB and increase parallel uploads to 5 --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index aed6c9f..fd55071 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,8 +2,8 @@ import { useState, useEffect, useRef } from 'react'; -const CHUNK_SIZE = 8 * 1024 * 1024; // 8 MB -const PARALLEL_UPLOADS = 4; +const CHUNK_SIZE = 4 * 1024 * 1024; // 4 MB +const PARALLEL_UPLOADS = 5; function bufferToBase64(buffer: ArrayBuffer) { let binary = '';