Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Switch to 20MB for multipart upload

Neeraj Gupta1eea5ffab1a0
diff --git a/mobile/lib/core/constants.dart b/mobile/lib/core/constants.dart
index 3918541b5a..9060f2329a 100644
--- a/mobile/lib/core/constants.dart
+++ b/mobile/lib/core/constants.dart
@@ -43,7 +43,6 @@ const supportEmail = '[email protected]';
// this is the chunk size of the un-encrypted file which is read and encrypted before uploading it as a single part.
const multipartPartSize = 20 * 1024 * 1024;
-const multipartPartSizeInternal = 8 * 1024 * 1024;
const kDefaultProductionEndpoint = 'https://api.ente.io';
diff --git a/mobile/lib/module/upload/service/multipart.dart b/mobile/lib/module/upload/service/multipart.dart
index ad0d19703a..a293eeb772 100644
--- a/mobile/lib/module/upload/service/multipart.dart
+++ b/mobile/lib/module/upload/service/multipart.dart
@@ -51,9 +51,6 @@ class MultiPartUploader {
}
int get multipartPartSizeForUpload {
- if (_featureFlagService.internalUser) {
- return multipartPartSizeInternal;
- }
return multipartPartSize;
}