Skip to content

Commit

Permalink
allowSynchronousEvents false
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanChou committed Apr 25, 2024
1 parent fca5c38 commit efa1a70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indexer/services/socks/src/helpers/wss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export class Wss {
this.closed = false;
this.wss = new WebSocket.Server({
port: config.WS_PORT,
allowSynchronousEvents: false,
autoPong: true,
});
} as WebSocket.ServerOptions);
}

public async start(): Promise<void> {
Expand Down

0 comments on commit efa1a70

Please sign in to comment.