web/satellite: revert uploads queue size

Revert upload parallelism queue size back to 4 segments at a time.
Increasing this number causes some memory issues for some users.

Issue:
https://github.com/storj/storj/issues/6120

Change-Id: Ic5bcd1f13ee625fdc2613ee23d6945c905f03142
This commit is contained in:
Vitalii 2023-07-27 19:57:08 +03:00
parent cc12a48c24
commit 2c56599ca0

View File

@ -464,8 +464,8 @@ export const useObjectBrowserStore = defineStore('objectBrowser', () => {
appStore.setLargeUploadWarningNotification(true);
}
// Upload 5 parts at a time.
const queueSize = 5;
// Upload 4 parts at a time.
const queueSize = 4;
// Part size must be 64MB or higher, depending on file size.
const partSize = Math.max(64 * 1024 * 1024, Math.floor(body.size / queueSize));