Skip to content

Commit 0927e32

Browse files
authored
fix(core): isolate different environments for realtime (#1781)
1 parent 3367771 commit 0927e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bp/src/core/realtime/realtime-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class RealtimeService {
148148
// TODO: There's a conflict between the typings caused by some peer dependencies
149149
// Related issue: https://github.com/socketio/socket.io-redis-adapter/issues/419
150150
// @ts-ignore
151-
io.adapter(createAdapter(redisFactory('commands'), redisFactory('socket')))
151+
io.adapter(createAdapter(redisFactory('commands'), redisFactory('socket'), { key: process.env.BP_REDIS_SCOPE }))
152152
}
153153
}
154154

0 commit comments

Comments
 (0)