mirror of
https://github.com/Dangoware/confetti-box.git
synced 2025-06-22 14:42:59 -05:00
Limit concurrent uploads to 3 files
This commit is contained in:
parent
44e94e4772
commit
5a8a19cb64
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue