From: Jérôme Benoit Date: Wed, 5 Jul 2023 21:52:20 +0000 (+0200) Subject: docs: refine FIXME comment X-Git-Tag: v2.6.9~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=02fd3265f178909511619be1593c3ff9774c8685;p=poolifier.git docs: refine FIXME comment Signed-off-by: Jérôme Benoit --- 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 {