screwdriver-queue-service 2.0.44 → 2.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-queue-service",
3
- "version": "2.0.44",
3
+ "version": "2.0.46",
4
4
  "description": "Screwdriver Queue Service API",
5
5
  "main": "app.js",
6
6
  "directories": {
@@ -43,10 +43,10 @@ const multiWorker = new MultiWorker(
43
43
  {
44
44
  connection: resqueConnection,
45
45
  queues: [`${queuePrefix}builds`, `${queuePrefix}cache`, `${queuePrefix}webhooks`],
46
- minTaskProcessors: workerConfig.minTaskProcessors,
47
- maxTaskProcessors: workerConfig.maxTaskProcessors,
48
- checkTimeout: workerConfig.checkTimeout,
49
- maxEventLoopDelay: workerConfig.maxEventLoopDelay
46
+ minTaskProcessors: parseInt(workerConfig.minTaskProcessors, 10),
47
+ maxTaskProcessors: parseInt(workerConfig.maxTaskProcessors, 10),
48
+ checkTimeout: parseInt(workerConfig.checkTimeout, 10),
49
+ maxEventLoopDelay: parseInt(workerConfig.maxEventLoopDelay, 10)
50
50
  },
51
51
  jobs
52
52
  );