X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FemptyWorker.js;h=01d1cf09812e4baf8584e5fc41f9920b7d1db2a0;hb=db746922cea3decbb34b5878d56a468d659d33f5;hp=58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5;hpb=6fdc721bfdc82852c19cf4d53e0918c9665a580f;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,