repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:poolifier/poolifier
[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 838c6e26ed448959a22129b5435482bce7476a25..08563f4b2e753cefa3a331e9d0193be2a809f526 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/src/main.ts
+++ b/
examples/typescript/http-server-pool/express-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('Express failed to start in cluster worker:', error)
})
},
console.error('Express failed to start in cluster worker:', error)
})
},