repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: less strict expectation for CI
[poolifier.git]
/
src
/
worker
/
cluster-worker.ts
diff --git
a/src/worker/cluster-worker.ts
b/src/worker/cluster-worker.ts
index cafef7fc076feb74a3153418939820efd53153fc..d972692ec6eb4f182479cac008c47a1f20b75d8d 100644
(file)
--- a/
src/worker/cluster-worker.ts
+++ b/
src/worker/cluster-worker.ts
@@
-59,7
+59,9
@@
export class ClusterWorker<
}
/** @inheritDoc */
}
/** @inheritDoc */
- protected sendToMainWorker (message: MessageValue<Response>): void {
+ protected readonly sendToMainWorker = (
+ message: MessageValue<Response>
+ ): void => {
this.getMainWorker().send({ ...message, workerId: this.id })
}
}
this.getMainWorker().send({ ...message, workerId: this.id })
}
}