diff --git a/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee b/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee index 63ad6eb96d..c82144acc0 100644 --- a/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee +++ b/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee @@ -13,8 +13,8 @@ module.exports = RateLimiterMiddlewear.rateLimit({ endpointName: "file-upload" params: ["Project_id"] - maxRequests: 100 - timeInterval: 60 * 20 + maxRequests: 200 + timeInterval: 60 * 30 }), SecurityManager.requestCanModifyProject, ProjectUploadController.uploadFile diff --git a/services/web/public/coffee/directives/fineUpload.coffee b/services/web/public/coffee/directives/fineUpload.coffee index 2fad1acf17..9856da5076 100644 --- a/services/web/public/coffee/directives/fineUpload.coffee +++ b/services/web/public/coffee/directives/fineUpload.coffee @@ -32,7 +32,7 @@ define [ uploadButton: scope.uploadButtonText or "Upload" dragAreaText = scope.dragAreaText or "drag here" hintText = scope.hintText or "" - + maxConnections = scope.maxConnections or 1 onComplete = scope.onCompleteCallback or () -> onUpload = scope.onUploadCallback or () -> onError = scope.onErrorCallback or () -> @@ -45,6 +45,7 @@ define [ multiple: multiple disabledCancelForFormUploads: true validation: validation + maxConnections: maxConnections request: endpoint: endpoint forceMultipart: true diff --git a/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee b/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee index 81c2e096ca..f3bdc3c9e6 100644 --- a/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee +++ b/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee @@ -126,7 +126,7 @@ define [ $scope.onUpload = () -> uploadCount++ - $scope.max_files = 20 + $scope.max_files = 40 $scope.onComplete = (error, name, response) -> $timeout (() -> uploadCount--