mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
add RESUMABLE_UPLOAD_FILE_BLOCK_SIZE setting (#2744)
This commit is contained in:
@@ -192,7 +192,7 @@ define([
|
||||
data.jqXHR = popup.fileupload('send', data);
|
||||
|
||||
} else {
|
||||
var block_size = 1024 * 1024;
|
||||
var block_size = app.pageOptions.resumable_upload_file_block_size * 1024 * 1024;
|
||||
if (enable_resumable_fileupload &&
|
||||
file.size && file.size > block_size) {
|
||||
popup.fileupload('option', 'maxChunkSize', block_size);
|
||||
|
Reference in New Issue
Block a user