File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,20 +5,6 @@ setLabels = function () {
55 return originalSend . call ( this , msg ) ;
66 }
77
8- // name mongodb.Connection.createDataHandler
9- var mongodb = MongoInternals . NpmModule ;
10- // Sometimes, createDataHandler is not there. In that case, we don't need
11- // to crash the app.
12- if ( mongodb . Connection . createDataHandler ) {
13- var originalCreateDataHandler = mongodb . Connection . createDataHandler ;
14- mongodb . Connection . createDataHandler = function ( self ) {
15- var originalHandler = originalCreateDataHandler . call ( this , self ) ;
16- return function kadira_MongoDB_dataHandler ( data ) {
17- return originalHandler . call ( this , data ) ;
18- }
19- }
20- }
21-
228 // name Multiplexer initial adds
239 var originalSendAdds = MeteorX . Multiplexer . prototype . _sendAdds ;
2410 MeteorX . Multiplexer . prototype . _sendAdds = function kadira_Multiplexer_sendAdds ( handle ) {
Original file line number Diff line number Diff line change @@ -5,15 +5,6 @@ Tinytest.add(
55 }
66) ;
77
8- Tinytest . add (
9- 'CPU Profiler - set labels - mongodb.Connection.createDataHandler' ,
10- function ( test ) {
11- var mongodb = MongoInternals . NpmModule ;
12- var handler = mongodb . Connection . createDataHandler ( ) ;
13- test . equal ( handler . name , 'kadira_MongoDB_dataHandler' ) ;
14- }
15- ) ;
16-
178Tinytest . add (
189 'CPU Profiler - set labels - MongoCursor methods' ,
1910 function ( test ) {
You can’t perform that action at this time.
0 commit comments