From caae835ba9524f892f420912a23942e3b99bbbee Mon Sep 17 00:00:00 2001 From: aardizio Date: Mon, 15 Feb 2021 17:13:04 +0100 Subject: [PATCH] Thread implementation working and tested with TDD expeting a failure and then adding code and expect success --- src/pools/thread/dynamic.ts | 1 - 1 file changed, 1 deletion(-) 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) } -- 2.34.1