Skip to content

Commit caf9863

Browse files
author
Peter Kuma
committed
Allow chunks to be larger than 64MB.
1 parent 12f8a18 commit caf9863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fileshack/static/fileshack/js/models.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ var Item = new Class({
174174
elapsedTime = new Date().getTime() - startTime;
175175
if (elapsedTime < CHUNK_UPLOAD_LOW*1000) {
176176
len *= 2;
177-
if (len > 64*1024*1024) len = 64*1024*1024;
177+
//if (len > 64*1024*1024) len = 64*1024*1024;
178178
//console.log('Doubling chunk size');
179179
}
180180
if (elapsedTime > CHUNK_UPLOAD_HIGH*1000) {

0 commit comments

Comments
 (0)