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): bump @types/node
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-hybrid
/
src
/
main.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
b/examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
index 5cfbbf43e36e3f6fe0595bd9c1256cc8bcbf6f3e..f6536bd0bbc3bbde78e8cd5bf68cfb48099e1fc6 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
+++ b/
examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
@@
-34,7
+34,7
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
console.error('Thread worker error:', e)
}
})
console.error('Thread worker error:', e)
}
})
- .then(
(response)
=> {
+ .then(
response
=> {
if (response.status) {
console.info(
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
if (response.status) {
console.info(
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
@@
-43,7
+43,7
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
}
return null
})
}
return null
})
- .catch(
(error)
=> {
+ .catch(
error
=> {
console.error(
'WebSocket server failed to start in cluster worker:',
error
console.error(
'WebSocket server failed to start in cluster worker:',
error