mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
remove unused pubsub client
This commit is contained in:
parent
a50c096eae
commit
80f8f2465e
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ MESSAGE_SIZE_LOG_LIMIT = 1024 * 1024 # 1Mb
|
|||
module.exports = DocumentUpdaterController =
|
||||
# DocumentUpdaterController is responsible for updates that come via Redis
|
||||
# Pub/Sub from the document updater.
|
||||
rclientList: RedisClientManager.createClientList(settings.redis.pubsub, settings.redis.unusedpubsub)
|
||||
rclientList: RedisClientManager.createClientList(settings.redis.pubsub)
|
||||
|
||||
listenForUpdatesFromDocumentUpdater: (io) ->
|
||||
logger.log {rclients: @rclientList.length}, "listening for applied-ops events"
|
||||
|
|
|
@ -7,7 +7,7 @@ HealthCheckManager = require "./HealthCheckManager"
|
|||
|
||||
module.exports = WebsocketLoadBalancer =
|
||||
rclientPubList: RedisClientManager.createClientList(Settings.redis.pubsub)
|
||||
rclientSubList: RedisClientManager.createClientList(Settings.redis.pubsub, Settings.redis.unusedpubsub)
|
||||
rclientSubList: RedisClientManager.createClientList(Settings.redis.pubsub)
|
||||
|
||||
emitToRoom: (room_id, message, payload...) ->
|
||||
if !room_id?
|
||||
|
|
Loading…
Reference in a new issue