mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
disable koa timeout on ws connection
This commit is contained in:
parent
d010ff3a1e
commit
b0cb8ac3f1
@ -87,6 +87,7 @@ export const handleWSUpgrade = (wss: WebSocketServer, ctx: Context, callback: WS
|
||||
});
|
||||
|
||||
ctx.respond = false;
|
||||
ctx.req.setTimeout(0);
|
||||
};
|
||||
|
||||
// Protocol related functions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user