Implementation for killBehavior based on the last feedbacks
[poolifier.git] / 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)
@@ -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
+})