diff --git a/services/real-time/app/coffee/WebsocketController.coffee b/services/real-time/app/coffee/WebsocketController.coffee index 8a09f534bb..5b03f334d5 100644 --- a/services/real-time/app/coffee/WebsocketController.coffee +++ b/services/real-time/app/coffee/WebsocketController.coffee @@ -184,7 +184,7 @@ module.exports = WebsocketController = logger.log {user_id, project_id, client_id: client.id}, "getting connected users" AuthorizationManager.assertClientCanViewProject client, (error) -> return callback(error) if error? - WebsocketLoadBalancer.emitToRoom project_id, 'clientTracking.refresh', project_id + WebsocketLoadBalancer.emitToRoom project_id, 'clientTracking.refresh' setTimeout () -> ConnectedUsersManager.getConnectedUsers project_id, (error, users) -> return callback(error) if error?