Add two tests to assess worker options. (#260)
[poolifier.git] / benchmarks / versus-external-pools / fixed-poolifier.js
index c994620899f15283d478b3d9494186607b109a66..e32a1166f63847a45933209fa3bd71d3a1c43e00 100644 (file)
@@ -9,11 +9,8 @@ const data = {
 }
 
 const fixedPool = new FixedThreadPool(
-  size,
-  './workers/poolifier/function-to-bench-worker.js',
-  {
-    maxTasks: 100000
-  }
+  Number(size),
+  './workers/poolifier/function-to-bench-worker.js'
 )
 
 async function run () {