Merge pull request #4915 from toeverything/chore/hotfix-back-to-master

fix: cherry pick hotfix back to master
This commit is contained in:
LongYinan authored and GitHub committed 2023-11-13 10:12:06 +08:00
commit f17c0e1268
2 files changed
+2 -1

No files matched your search

@@ -50,6 +50,8 @@ type EventResponse<Data = any> =
@WebSocketGateway({
cors: process.env.NODE_ENV !== 'production',
transports: ['websocket'],
// see: https://socket.io/docs/v4/server-options/#maxhttpbuffersize
maxHttpBufferSize: 1e8, // 100 MB
})
export class EventsGateway implements OnGatewayConnection, OnGatewayDisconnect {
protected logger = new Logger(EventsGateway.name);