X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Finternal%2Fcluster-worker.cjs;h=40d614c7364fe17feaa41bec8c3742842f450832;hb=b120cd46f439c18157b42adf0ef9faeafe971b4d;hp=5f59d49b8971cd4d692fe3e01a4599ba13a03d66;hpb=e1ba9765afbf97436250d19f28c818221ebc10b9;p=poolifier.git diff --git a/benchmarks/internal/cluster-worker.cjs b/benchmarks/internal/cluster-worker.cjs index 5f59d49b..40d614c7 100644 --- a/benchmarks/internal/cluster-worker.cjs +++ b/benchmarks/internal/cluster-worker.cjs @@ -8,6 +8,7 @@ const taskFunction = data => { data.function = data.function || TaskFunctions.factorial data.debug = data.debug || false const res = executeTaskFunction(data) + // eslint-disable-next-line @typescript-eslint/no-unused-expressions data.debug === true && console.debug(`This is the main thread ${isPrimary}`) return res }