repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: ensure worker info is defined before accessing it
[poolifier.git]
/
src
/
pools
/
cluster
/
fixed.ts
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index 09dbe509262a80148e2a46756fd86c992902be49..e4cc7d6e232d30d0da85607ec87661a31892c2c9 100644
(file)
--- a/
src/pools/cluster/fixed.ts
+++ b/
src/pools/cluster/fixed.ts
@@
-54,7
+54,7
@@
export class FixedClusterPool<
): void {
this.workerNodes[workerNodeKey].worker.send({
...message,
- workerId: this.getWorkerInfo(workerNodeKey).id
+ workerId: this.getWorkerInfo(workerNodeKey)
?
.id
})
}