X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FemptyWorker.js;h=a0c94085897af10321a34427c076d4f7cdad01e5;hb=4597ddcd5fdeb8cef6a991e965038650fe200509;hp=58c55af12b8c171a12c8b430a3b32b3e2d7c0dc5;hpb=aad2595fd9c26bcb2f0d7a22d06edf56d5b08bdb;p=poolifier.git diff --git a/tests/worker-files/cluster/emptyWorker.js b/tests/worker-files/cluster/emptyWorker.js index 58c55af1..a0c94085 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') -function test (data) {} +function test () {} module.exports = new ClusterWorker(test, { maxInactiveTime: 500,