Skip to content

Commit de42d9c

Browse files
committed
perf: publishOnSpecificResponseChannel: true
1 parent 042a221 commit de42d9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/lib/ws/server.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export const initWsServer = async () => {
3232
pingTimeout: 3000,
3333
});
3434

35-
io.adapter(createAdapter(pubClient, subClient));
35+
io.adapter(createAdapter(pubClient, subClient, {
36+
publishOnSpecificResponseChannel: true,
37+
}));
3638
};
3739

3840
export const getWsServer = (): WsServer => {

0 commit comments

Comments
 (0)