X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fworker%2Fcluster%2FlongRunningWorkerSoftBehavior.js;fp=tests%2Fworker%2Fcluster%2FlongRunningWorker.js;h=c4c00f6a17f41303be6636f59ebf2cb114adb153;hb=4c35177b63cac8a87aa6de389e1232e94c59b8c9;hp=d751d3514fbd947559ca240ce0fb70822a2722de;hpb=8780c880a2cf08680092f6e41fb82600b196455c;p=poolifier.git 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 d751d351..c4c00f6a 100644 --- 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 +})