repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: fix worker tests
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
src
/
main.ts
diff --git
a/examples/typescript/http-server-pool/express-hybrid/src/main.ts
b/examples/typescript/http-server-pool/express-hybrid/src/main.ts
index 08563f4b2e753cefa3a331e9d0193be2a809f526..561aab5d2832217f50ec4304a858cc94bb72c40a 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/src/main.ts
+++ b/
examples/typescript/http-server-pool/express-hybrid/src/main.ts
@@
-41,7
+41,7
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
`Express is listening in cluster worker on port ${response?.port}`
)
}
`Express is listening in cluster worker on port ${response?.port}`
)
}
- return
null
+ return
undefined
})
.catch(error => {
console.error('Express failed to start in cluster worker:', error)
})
.catch(error => {
console.error('Express failed to start in cluster worker:', error)