Skip to content

Commit

Permalink
web/satellite: revert uploads queue size
Browse files Browse the repository at this point in the history
Revert upload parallelism queue size back to 4 segments at a time.
Increasing this number causes some memory issues for some users.

Issue:
#6120

Change-Id: Ic5bcd1f13ee625fdc2613ee23d6945c905f03142
  • Loading branch information
VitaliiShpital committed Jul 27, 2023
1 parent cc12a48 commit 2c56599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/satellite/src/store/modules/objectBrowserStore.ts
Expand Up @@ -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));

Expand Down

0 comments on commit 2c56599

Please sign in to comment.