X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FemptyWorker.js;h=01d1cf09812e4baf8584e5fc41f9920b7d1db2a0;hb=b9da9d7e74c720f83482a09d1b883fc83d04f4ed;hp=58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5;hpb=e901162fa610e2af305aac504549580b2de48cab;p=poolifier.git diff --git a/tests/worker-files/cluster/emptyWorker.js b/tests/worker-files/cluster/emptyWorker.js index 58c55af1..01d1cf09 100644 --- a/tests/worker-files/cluster/emptyWorker.js +++ b/tests/worker-files/cluster/emptyWorker.js @@ -1,7 +1,7 @@ 'use strict' -const { ClusterWorker, KillBehaviors } = require('../../../lib/index') +const { ClusterWorker, KillBehaviors } = require('../../../lib') -function test (data) {} +function test () {} module.exports = new ClusterWorker(test, { maxInactiveTime: 500,