X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FechoWorker.cjs;h=5196b5db1522820aecd9de332f291319bca63a63;hb=HEAD;hp=4534d985b976c2d01d22c0cbd5d82b466a449dab;hpb=d35e571704515a8b729d3455e4784054f07c368f;p=poolifier.git diff --git a/tests/worker-files/cluster/echoWorker.cjs b/tests/worker-files/cluster/echoWorker.cjs index 4534d985..5196b5db 100644 --- a/tests/worker-files/cluster/echoWorker.cjs +++ b/tests/worker-files/cluster/echoWorker.cjs @@ -1,10 +1,15 @@ 'use strict' const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs') +/** + * + * @param data + * @returns + */ function echo (data) { return data } module.exports = new ClusterWorker(echo, { - killBehavior: KillBehaviors.HARD + killBehavior: KillBehaviors.HARD, })