X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FechoWorker.js;h=f9308c70c4bbbecfa0d205db06867a46562e2ac2;hb=041dc05b2a95b36db72525072ba54c4c58ffcf0e;hp=054c4bb30c2d8ef2ad2ed9dd52bc5c6f9af793e2;hpb=aad2595fd9c26bcb2f0d7a22d06edf56d5b08bdb;p=poolifier.git diff --git a/tests/worker-files/cluster/echoWorker.js b/tests/worker-files/cluster/echoWorker.js index 054c4bb3..f9308c70 100644 --- a/tests/worker-files/cluster/echoWorker.js +++ b/tests/worker-files/cluster/echoWorker.js @@ -1,11 +1,10 @@ 'use strict' -const { ClusterWorker, KillBehaviors } = require('../../../lib/index') +const { ClusterWorker, KillBehaviors } = require('../../../lib') function echo (data) { return data } module.exports = new ClusterWorker(echo, { - maxInactiveTime: 500, killBehavior: KillBehaviors.HARD })