From: Jérôme Benoit Date: Tue, 4 Jul 2023 15:41:17 +0000 (+0200) Subject: fix: use same task timeout default as poolifier when possible X-Git-Tag: v2.6.9~19 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ae55bb0ecb73cd5cf8d4d5bc62a145e0476aec38;p=poolifier.git fix: use same task timeout default as poolifier when possible Signed-off-by: Jérôme Benoit --- diff --git a/benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.mjs b/benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.mjs index debe8513..20404974 100644 --- a/benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.mjs +++ b/benchmarks/versus-external-pools/dynamic-node-worker-threads-pool.mjs @@ -20,7 +20,8 @@ async function run () { promises.push( pool.exec({ task: functionToBench, - param: data + param: data, + timeout: 60000 // this is the same as poolifier default }) ) }