From 80716e5039fb14c3731fa6b7f22334fcd4e5b314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 14 Aug 2024 19:26:17 +0200 Subject: [PATCH] docs: refine code comment about task stealing conditions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 8a418210..77ce43c3 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1919,7 +1919,7 @@ export abstract class AbstractPool< `Worker node with key '${destinationWorkerNodeKey.toString()}' not found in pool` ) } - // Avoid cross task stealing. Could be smarter by checking stealing/stolen worker ids pair. + // Avoid cross and cascading task stealing. Could be smarter by checking stealing/stolen worker ids pair. if ( !sourceWorkerNode.info.ready || sourceWorkerNode.info.stolen || -- 2.34.1