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