[MNT-22649] Support for concurrent uploads and configurable thread count (#7496)

* eslint fixes

* try remove upload restrictions

* disable unit test

* support threading count for upload

* update docs

* remove comment

* fix unit test

* remove fdescribe

* make 1 thread by default

* exclude e2e
This commit is contained in:
Denys Vuika
2022-02-14 09:38:24 +00:00
committed by GitHub
parent 5ee4482c60
commit 1a6746ff3c
7 changed files with 120 additions and 74 deletions

View File

@@ -119,3 +119,18 @@ It is also possible to provide the `versioningEnabled` value as part of the [`Fi
> Note: When creating a new node using multipart/form-data by default versioning is enabled and set to MAJOR Version.
> Since Alfresco 6.2.3 versioningEnabled flag was introduced offering better control over the new node Versioning.
### Concurrent Uploads
By default, the Upload Service processes one file at a time.
You can increase the number of concurrent threads by changing the `upload.threads` configuration parameter:
**app.config.json**
```json
{
"upload": {
"threads": 2
}
}
```