docs: refine FIXME comment
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Jul 2023 21:52:20 +0000 (23:52 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Jul 2023 21:52:20 +0000 (23:52 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts

index e97ce4f8395d35cb1b782c0843c1f324fef3a206..fc18d6b6b4b0492b36fb8a168ec34fc5b96b0f6c 100644 (file)
@@ -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 {