X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-cluster%2Fsrc%2Fworker.ts;fp=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-cluster%2Fsrc%2Fworker.ts;h=c5fe74acc122c0c391d419c559d613026ea56354;hb=a449b5852f851c943360152c6acba7033ea48c23;hp=da1066c4a7d997e044af5731596ca08c36a251ed;hpb=6dbb424126c4b14224eff85c4823f6a57a0e425c;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-cluster/src/worker.ts b/examples/typescript/http-server-pool/express-cluster/src/worker.ts index da1066c4..c5fe74ac 100644 --- a/examples/typescript/http-server-pool/express-cluster/src/worker.ts +++ b/examples/typescript/http-server-pool/express-cluster/src/worker.ts @@ -1,5 +1,5 @@ -import type { Server } from 'http' -import type { AddressInfo } from 'net' +import type { Server } from 'node:http' +import type { AddressInfo } from 'node:net' import { ClusterWorker } from 'poolifier' import express, { type Express, type Request, type Response } from 'express' import { type WorkerData, type WorkerResponse } from './types.js'