We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cd3661 commit 2356b9cCopy full SHA for 2356b9c
s3upload.js
@@ -1,5 +1,5 @@
1
function S3MultiUpload(file) {
2
- this.PART_SIZE = 1 * 1024 * 1024 * 1024; // Minimum part size defined by aws s3 is 5 MB, maximum 5 GB
+ this.PART_SIZE = 5 * 1024 * 1024 * 1024; // Minimum part size defined by aws s3 is 5 MB, maximum 5 GB
3
this.SERVER_LOC = '?'; // Location of the server
4
this.completed = false;
5
this.file = file;
@@ -234,4 +234,4 @@ S3MultiUpload.prototype.onUploadCompleted = function(serverData) {};
234
* Override this method to execute something when part preparation is completed
235
*
236
*/
237
-S3MultiUpload.prototype.onPrepareCompleted = function() {};
+S3MultiUpload.prototype.onPrepareCompleted = function() {};
0 commit comments