summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-09-20 01:14:01 +0100
committerMatthew Hodgson <matthew@matrix.org>2014-09-20 01:14:01 +0100
commit4c7a1abd391b64a70791bddd9ae43a291f10d924 (patch)
tree43eaadedfb90a9767d045fe933e4ec8ab4ca75f5 /webclient/components
parentremove the ng-model attribute from mainInput textarea to stop the digest bein... (diff)
downloadsynapse-4c7a1abd391b64a70791bddd9ae43a291f10d924.tar.xz
remove insanely busy logging which is killing CPU
Diffstat (limited to 'webclient/components')
-rw-r--r--webclient/components/matrix/matrix-filter.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/webclient/components/matrix/matrix-filter.js b/webclient/components/matrix/matrix-filter.js
index c99c435b92..328e3a7086 100644
--- a/webclient/components/matrix/matrix-filter.js
+++ b/webclient/components/matrix/matrix-filter.js
@@ -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;