From: Jérôme Benoit Date: Wed, 14 Aug 2024 17:26:17 +0000 (+0200) Subject: docs: refine code comment about task stealing conditions X-Git-Tag: v4.2.1~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=80716e5039fb14c3731fa6b7f22334fcd4e5b314;p=poolifier.git docs: refine code comment about task stealing conditions Signed-off-by: Jérôme Benoit --- 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 ||