mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
only publish to one redis client in WebsocketLoadBalancer
but listen to all of them
This commit is contained in:
parent
999cbd8ee6
commit
580b100362
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ EventLogger = require "./EventLogger"
|
|||
HealthCheckManager = require "./HealthCheckManager"
|
||||
|
||||
module.exports = WebsocketLoadBalancer =
|
||||
rclientPubList: RedisClientManager.createClientList(Settings.redis.pubsub, Settings.redis.unusedpubsub)
|
||||
rclientPubList: RedisClientManager.createClientList(Settings.redis.pubsub)
|
||||
rclientSubList: RedisClientManager.createClientList(Settings.redis.pubsub, Settings.redis.unusedpubsub)
|
||||
|
||||
emitToRoom: (room_id, message, payload...) ->
|
||||
|
|
Loading…
Reference in a new issue