repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
src
/
types.ts
diff --git
a/examples/typescript/http-server-pool/express-hybrid/src/types.ts
b/examples/typescript/http-server-pool/express-hybrid/src/types.ts
index 293c57d74115ed635d338b6444cf4f1ceab2ea59..76a9133e60f1c7d462bdfaf52b7eb54d328b218c 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/src/types.ts
+++ b/
examples/typescript/http-server-pool/express-hybrid/src/types.ts
@@
-1,7
+1,6
@@
-import type { Worker } from 'node:worker_threads'
-import type { PoolOptions } from 'poolifier'
+import type { ThreadPoolOptions } from 'poolifier'
-export interface ClusterWorkerData extends
PoolOptions<Worker>
{
+export interface ClusterWorkerData extends
ThreadPoolOptions
{
port: number
workerFile: string
minWorkers?: number
port: number
workerFile: string
minWorkers?: number