make the number of workers configurable

This commit is contained in:
ansuz
2020-04-16 13:53:45 -04:00
parent 0465f31a45
commit ba6faca02e
3 changed files with 36 additions and 1 deletions

View File

@@ -89,6 +89,14 @@ module.exports = {
*/
//httpSafePort: 3001,
/* CryptPad will launch a child process for every core available
* in order to perform CPU-intensive tasks in parallel.
* Some host environments may have a very large number of cores available
* or you may want to limit how much computing power CryptPad can take.
* If so, set 'maxWorkers' to a positive integer.
*/
// maxWorkers: 4,
/* =====================
* Admin
* ===================== */