Improve benchmarks: add IO intensive task workload, add task size option, integrate...
[poolifier.git] / examples / fixedExample.js
index 07a57c3ef9c5fc9ff455586498294149bf14ebdb..2c36a7038695e4e4a8a10dae15bc0f748a4b3849 100644 (file)
@@ -10,7 +10,7 @@ const iterations = 1000
 for (let i = 1; i <= iterations; i++) {
   pool
     .execute({})
-    .then(res => {
+    .then(() => {
       resolved++
       if (resolved === iterations) {
         return console.log('Time take is ' + (Date.now() - start))