repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
src
/
pools
/
cluster
/
fixed.ts
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index aa731562011507f59b84cce1f7088be68924e0b0..c60266e3d72b623fb9225dcc20882c064d29438c 100644
(file)
--- a/
src/pools/cluster/fixed.ts
+++ b/
src/pools/cluster/fixed.ts
@@
-54,9
+54,8
@@
export class FixedClusterPool<
): void {
this.workerNodes[workerNodeKey].worker.send({
...message,
): void {
this.workerNodes[workerNodeKey].worker.send({
...message,
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- workerId: this.getWorkerInfo(workerNodeKey).id!
- })
+ workerId: this.getWorkerInfo(workerNodeKey)?.id
+ } satisfies MessageValue<Data>)
}
/** @inheritDoc */
}
/** @inheritDoc */