web/satellite: Set part size back to 64mb

Reverts this commit to make part size dynamic:
a9d979e4d7

There are issues with client-side memory usage using the dynamic sizing.

Change-Id: Iba18af1e424622b7b3bf57413322332d8e1aa63a
This commit is contained in:
Moby von Briesen 2023-08-10 12:53:50 -04:00 committed by Storj Robot
parent 8b0d25cde1
commit dbc7443c9d

View File

@ -465,8 +465,8 @@ export const useObjectBrowserStore = defineStore('objectBrowser', () => {
// 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));
// For now use a 64mb part size. This may be configurable in the future to enhance performance.
const partSize = 64 * 1024 * 1024;
const upload = new Upload({
client: state.s3,