From 02fd3265f178909511619be1593c3ff9774c8685 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Jul 2023 23:52:20 +0200 Subject: [PATCH] docs: refine FIXME comment 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index e97ce4f8..fc18d6b6 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1130,7 +1130,7 @@ export abstract class AbstractPool< if (worker == null) { return 0 } - // FIXME: Workaround tasks queue initialization issue. + // FIXME: Workaround tasks queue initialization race issue. try { return this.tasksQueueSize(this.getWorkerNodeKey(worker)) } catch { @@ -1141,7 +1141,7 @@ export abstract class AbstractPool< if (worker == null) { return 0 } - // FIXME: Workaround tasks queue initialization issue. + // FIXME: Workaround tasks queue initialization race issue. try { return this.tasksMaxQueueSize(this.getWorkerNodeKey(worker)) } catch { -- 2.34.1