disable koa timeout on ws connection

This commit is contained in:
Ben Irvin 2023-10-02 12:38:29 +02:00
parent d010ff3a1e
commit b0cb8ac3f1

View File

@ -87,6 +87,7 @@ export const handleWSUpgrade = (wss: WebSocketServer, ctx: Context, callback: WS
});
ctx.respond = false;
ctx.req.setTimeout(0);
};
// Protocol related functions