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

@@ -253,6 +253,8 @@ module.exports.create = function (config, cb) {
channelExpirationMs: config.channelExpirationMs,
verbose: config.verbose,
openFileLimit: config.openFileLimit,
maxWorkers: config.maxWorkers,
}, w(function (err) {
if (err) {
throw new Error(err);