From: aardizio Date: Mon, 15 Feb 2021 16:13:04 +0000 (+0100) Subject: Thread implementation working and tested with TDD expeting a failure and then adding... X-Git-Tag: v2.0.0-beta.2~17^2~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=caae835ba9524f892f420912a23942e3b99bbbee;p=poolifier.git Thread implementation working and tested with TDD expeting a failure and then adding code and expect success --- diff --git a/src/pools/thread/dynamic.ts b/src/pools/thread/dynamic.ts index 92a5fdf2..74013f2b 100644 --- a/src/pools/thread/dynamic.ts +++ b/src/pools/thread/dynamic.ts @@ -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) }