repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implementation for killBehavior based on the last feedbacks
[poolifier.git]
/
tests
/
worker
/
cluster
/
longRunningWorkerSoftBehavior.js
diff --git
a/tests/worker/cluster/longRunningWorker.js
b/tests/worker/cluster/longRunningWorkerSoftBehavior.js
similarity index 69%
rename from
tests/worker/cluster/longRunningWorker.js
rename to
tests/worker/cluster/longRunningWorkerSoftBehavior.js
index d751d3514fbd947559ca240ce0fb70822a2722de..c4c00f6a17f41303be6636f59ebf2cb114adb153 100644
(file)
--- a/
tests/worker/cluster/longRunningWorker.js
+++ b/
tests/worker/cluster/longRunningWorkerSoftBehavior.js
@@
-7,4
+7,7
@@
async function sleep (data) {
})
}
-module.exports = new ClusterWorker(sleep, { maxInactiveTime: 500, async: true })
+module.exports = new ClusterWorker(sleep, {
+ maxInactiveTime: 500,
+ async: true
+})