Skip to content

Commit e479c7b

Browse files
authored
Decreased Browser direct download threshold to 5GiB (#3557)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent ecce093 commit e479c7b

File tree

1 file changed

+2
-2
lines changed
  • web-app/src/screens/Console/Buckets/ListBuckets/Objects

1 file changed

+2
-2
lines changed

web-app/src/screens/Console/Buckets/ListBuckets/Objects/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ export const download = (
9696
path = path.concat(`&version_id=${versionID}`);
9797
}
9898

99-
// If file is greater than 50GiB then we force browser download, if not then we use HTTP Request for Object Manager
100-
if (fileSize > 53687091200) {
99+
// If file is greater than 5GiB then we force browser download, if not then we use HTTP Request for Object Manager
100+
if (fileSize > 5368709120) {
101101
return new BrowserDownload(path, id, completeCallback, toastCallback);
102102
}
103103

0 commit comments

Comments
 (0)