order status subscriptions

This commit is contained in:
Tim Olson
2023-11-06 23:49:08 -04:00
parent 8444f7af7e
commit 25aef69ea3
5 changed files with 37 additions and 8 deletions

2
io.js
View File

@@ -11,5 +11,5 @@ export const httpServer = createServer()
export const io = new Server(httpServer, options)
const pubClient = redis.duplicate();
await pubClient.connect()
const adapter = createAdapter(pubClient, redis, {/*key:'public|'*/})
const adapter = createAdapter(pubClient, redis, {/*key:'socket.io'*/})
io.adapter(adapter)