File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
var AstiError = require ( './error' ) ( ) ;
2
2
var _ = require ( 'underscore' ) ;
3
3
var memwatch = require ( 'memwatch' ) ;
4
- var toobusy = require ( 'toobusy' ) ;
4
+ // var toobusy = require('toobusy');
5
5
6
6
module . exports = function ( config ) {
7
7
return new Monitor ( config ) ;
@@ -45,7 +45,7 @@ Monitor.prototype.stopMonitoring = function stopMonitoring() {
45
45
if ( this . _loopTimer ) {
46
46
clearInterval ( this . _loopTimer ) ;
47
47
}
48
- toobusy . shutdown ( ) ;
48
+ // toobusy.shutdown();
49
49
} ;
50
50
51
51
Monitor . prototype . _monitorLeaks = function _monitorLeaks ( ) {
@@ -76,7 +76,7 @@ Monitor.prototype._monitorEventLoop = function _monitorEventLoop() {
76
76
var trackMetrics = function trackMetrics ( ) {
77
77
var metrics = { } ;
78
78
if ( this . _lag ) {
79
- metrics . lag = toobusy . lag ( ) ;
79
+ // metrics.lag = toobusy.lag();
80
80
}
81
81
if ( this . _mem ) {
82
82
var memory = process . memoryUsage ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " node-asti" ,
3
- "version" : " 0.1.2 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"description" : " ASTi internal nodejs library for reusability" ,
5
5
"main" : " index.js" ,
6
6
"directories" : {
You can’t perform that action at this time.
0 commit comments