repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1388 from poolifier/combined-prs-branch
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-cluster
/
src
/
main.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
b/examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
index 6187d71fc3ae157177c2172e9bbdfdee3d5d56ad..5b4e7b5eab6e9c2d3bda8d46610e02bde2eee3f2 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
+++ b/
examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
@@
-22,7
+22,7
@@
const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
`WebSocket server is listening in cluster worker on port ${response.port}`
)
}
`WebSocket server is listening in cluster worker on port ${response.port}`
)
}
- return
null
+ return
undefined
})
.catch(error => {
console.error(
})
.catch(error => {
console.error(