repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-hybrid...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
src
/
express-worker.ts
diff --git
a/examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
b/examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
index f9364b43fe354fc91d6a661516035e72bc90fc4f..2089b3ef928d95837fafdeaf106dcd33a4bde05c 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
+++ b/
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
@@
-54,7
+54,6
@@
class ExpressWorker extends ClusterWorker<
application.all('/api/echo', (req: Request, res: Response) => {
ExpressWorker.requestHandlerPool
application.all('/api/echo', (req: Request, res: Response) => {
ExpressWorker.requestHandlerPool
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
.execute({ data: req.body }, 'echo')
.then(response => {
return res.send(response.data).end()
.execute({ data: req.body }, 'echo')
.then(response => {
return res.send(response.data).end()