bug fix: client push
This commit is contained in:
parent
2eea58808b
commit
255b3fd215
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ export class wsClient {
|
||||||
this.client = new Client(req.socket.remoteAddress ?? "");
|
this.client = new Client(req.socket.remoteAddress ?? "");
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
|
|
||||||
|
clients.push(this);
|
||||||
|
|
||||||
socket.on("message", async (msg: any) => {
|
socket.on("message", async (msg: any) => {
|
||||||
try {
|
try {
|
||||||
this.activeRequests++;
|
this.activeRequests++;
|
||||||
|
|
Loading…
Reference in a new issue