Apply dependencies update
[poolifier.git] / benchmarks / internal / cluster / worker.js
index c7211b7bfd2b9fe5883059ef9bba8771d614381d..b4d54fca9976e65bbbb76da3ff5d54a4673815ff 100644 (file)
@@ -2,13 +2,13 @@
 const { ClusterWorker } = require('../../../lib/index')
 
 function yourFunction (data) {
-  for (let i = 0; i <= 1000; i++) {
+  for (let i = 0; i < 1000; i++) {
     const o = {
       a: i
     }
     JSON.stringify(o)
   }
-  // console.log('This is the main thread ' + isMainThread)
+  // console.log('This is the main thread ' + isMaster)
   return { ok: 1 }
 }