worker-farm
Advanced tools
Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "worker-farm", | ||
"description": "Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"homepage": "https://github.com/rvagg/node-worker-farm", | ||
@@ -21,7 +21,7 @@ "authors": [ | ||
"dependencies": { | ||
"errno": "^0.1.4", | ||
"xtend": "^4.0.1" | ||
"errno": "~0.1.7", | ||
"xtend": "~4.0.1" | ||
}, | ||
"devDependencies": { | ||
"tape": "^4.7.0" | ||
"tape": "~4.9.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
@@ -268,5 +268,5 @@ 'use strict' | ||
let time = Date.now() - start | ||
// upper-limit tied closely to `count`, 1.2 is generous but accounts for all the timers | ||
// upper-limit tied closely to `count`, 1.3 is generous but accounts for all the timers | ||
// coming back at the same time and the IPC overhead | ||
t.ok(time > (defer * count) && time < (defer * count * 1.2), 'processed tasks sequentially (' + time + 'ms)') | ||
t.ok(time > (defer * count) && time < (defer * count * 1.3), 'processed tasks sequentially (' + time + ')') | ||
workerFarm.end(child, function () { | ||
@@ -329,3 +329,3 @@ t.ok(true, 'workerFarm ended') | ||
, pids = [] | ||
, count = 10 | ||
, count = 20 | ||
, i = count | ||
@@ -332,0 +332,0 @@ |
45576
Updatederrno@~0.1.7
Updatedxtend@~4.0.1