Thread implementation working and tested with TDD expeting a failure and then adding...
authoraardizio <alessandroardizio94@gmail.com>
Mon, 15 Feb 2021 16:13:04 +0000 (17:13 +0100)
committeraardizio <alessandroardizio94@gmail.com>
Mon, 15 Feb 2021 16:13:04 +0000 (17:13 +0100)
src/pools/thread/dynamic.ts

index 92a5fdf2b20da75e14f08d1c1e98e8637314a3f8..74013f2b70dceaf0e35ece2bbd9c25c5d0168701 100644 (file)
@@ -65,7 +65,6 @@ export class DynamicThreadPool<
       if (message.kill && !tasksInProgress) {
         // Kill received from the worker, means that no new tasks are submitted to that worker for a while( > maxInactiveTime)
         // To handle the case of a long-running task we will check if the there is any active task
-        console.log('Here we are')
         this.sendToWorker(worker, { kill: 1 })
         void this.destroyWorker(worker)
       }