Limit concurrent uploads to 3 files

This commit is contained in:
G2-Games 2025-05-20 20:07:32 -05:00
parent 44e94e4772
commit 5a8a19cb64

View file

@ -70,7 +70,7 @@ async function sendFiles(files, duration, maxSize) {
} }
const inProgressUploads = new Set(); const inProgressUploads = new Set();
const concurrencyLimit = 10; const concurrencyLimit = 3;
// Try to get a wake-lock // Try to get a wake-lock
let wakeLock = null; let wakeLock = null;