mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Set chunk size to 1 MB
This commit is contained in:
parent
a21d10ad1b
commit
dab025304d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ $(document).ready(function(){
|
|||
var fileSize = file.size;
|
||||
var filename = file.name;
|
||||
|
||||
var CHUNK_SIZE = 65536;
|
||||
var CHUNK_SIZE = 1048576; // 1 MiB
|
||||
|
||||
var isFinal = Boolean(fileSize - offset <= CHUNK_SIZE);
|
||||
var nextChunkSize = Math.min(fileSize - offset, CHUNK_SIZE);
|
||||
|
|
Loading…
Reference in a new issue