remove insanely busy logging which is killing CPU

This commit is contained in:
Matthew Hodgson 2014-09-20 01:14:01 +01:00
parent 9fda37158a
commit 4c7a1abd39

View File

@ -114,9 +114,13 @@ angular.module('matrixFilter', [])
// By default, use the room ID
roomName = room_id;
// XXX: this is *INCREDIBLY* heavy logging for a function that calls every single
// time any kind of digest runs which refreshes a room name...
// commenting it out for now.
// Log some information that lead to this leak
console.log("Room ID leak for " + room_id);
console.log("room object: " + JSON.stringify(room, undefined, 4));
// console.log("Room ID leak for " + room_id);
// console.log("room object: " + JSON.stringify(room, undefined, 4));
}
return roomName;