repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: add ws-cluster-pool example
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-worker_threads
/
src
/
main.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
b/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
index 1eda1e92dd3b8f47ecbde99b9098768388eb92cf..6283759d403047be2837b8322147f0741973adcd 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
+++ b/
examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
@@
-5,7
+5,7
@@
import { requestHandlerPool } from './pool.js'
const port = 8080
const wss = new WebSocketServer({ port }, () => {
console.info(
- `⚡️[ws server]: WebSocket server is started at
http
://localhost:${port}/`
+ `⚡️[ws server]: WebSocket server is started at
ws
://localhost:${port}/`
)
})