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): apply updates
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-worker_threads
/
src
/
main.ts
diff --git
a/examples/typescript/http-server-pool/express-worker_threads/src/main.ts
b/examples/typescript/http-server-pool/express-worker_threads/src/main.ts
index dc70d7ec03a0ceb8589863b615a63e178e0c72b2..615143646507d8e2f33922426384a19e8e5e906c 100644
(file)
--- a/
examples/typescript/http-server-pool/express-worker_threads/src/main.ts
+++ b/
examples/typescript/http-server-pool/express-worker_threads/src/main.ts
@@
-23,7
+23,6
@@
expressApp.use(express.json())
expressApp.all('/api/echo', (req: Request, res: Response) => {
requestHandlerPool
expressApp.all('/api/echo', (req: Request, res: Response) => {
requestHandlerPool
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
.execute({ body: req.body }, 'echo')
.then(response => {
return res.send(response.body).end()
.execute({ body: req.body }, 'echo')
.then(response => {
return res.send(response.body).end()