diff options
author | Tomasz Grobelny <tomasz@grobelny.net> | 2019-01-27 22:59:14 +0100 |
---|---|---|
committer | Tomasz Grobelny <tomasz@grobelny.net> | 2019-01-27 22:59:14 +0100 |
commit | f99ce0d546c8332bb46807eed21fcdf7d5d0ab71 (patch) | |
tree | 3e50871e6fb513ee393c37fec48da2f9c11806ed /apps/files/js/file-upload.js | |
parent | 996bad61b78b07f241b3b26c0fc98134ea8ab9f7 (diff) | |
download | nextcloud-server-f99ce0d546c8332bb46807eed21fcdf7d5d0ab71.tar.gz nextcloud-server-f99ce0d546c8332bb46807eed21fcdf7d5d0ab71.zip |
Throttle getstoragestats.php calls and allow simultaneous uploads
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index bc1a4b36794..9f1912d590d 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -845,7 +845,8 @@ OC.Uploader.prototype = _.extend({ type: 'PUT', dropZone: options.dropZone, // restrict dropZone to content div autoUpload: false, - sequentialUploads: true, + sequentialUploads: false, + limitConcurrentUploads: 10, //singleFileUploads is on by default, so the data.files array will always have length 1 /** * on first add of every selection |