Compare commits

...

1 Commits

Author SHA1 Message Date
22ed99da86 refactor: Adjust chunk size to 4 MB and increase parallel uploads to 5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Successful in 1m33s
2025-10-16 13:12:05 +02:00

View File

@@ -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 = '';