repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: cleanup worker id handling code
[poolifier.git]
/
src
/
pools
/
thread
/
fixed.ts
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index 52868fd7ec4360e62d9ab565995bb4ce532fde02..e3a94b329d4cfcee6f05cd6e2f8ad06e555a6dfc 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-79,7
+79,7
@@
export class FixedThreadPool<
worker.postMessage(
{
ready: false,
- workerId:
this.getWorkerInfoByWorker(worker).id as number
,
+ workerId:
worker.threadId
,
port: port2
},
[port2]