Skip to content

Commit caf7d84

Browse files
author
Jared De La Cruz
committed
disable toobusy
1 parent 42a9a69 commit caf7d84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/health.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var AstiError = require('./error')();
22
var _ = require('underscore');
33
var memwatch = require('memwatch');
4-
var toobusy = require('toobusy');
4+
//var toobusy = require('toobusy');
55

66
module.exports = function(config) {
77
return new Monitor(config);
@@ -45,7 +45,7 @@ Monitor.prototype.stopMonitoring = function stopMonitoring() {
4545
if (this._loopTimer) {
4646
clearInterval(this._loopTimer);
4747
}
48-
toobusy.shutdown();
48+
//toobusy.shutdown();
4949
};
5050

5151
Monitor.prototype._monitorLeaks = function _monitorLeaks() {
@@ -76,7 +76,7 @@ Monitor.prototype._monitorEventLoop = function _monitorEventLoop() {
7676
var trackMetrics = function trackMetrics() {
7777
var metrics = {};
7878
if (this._lag) {
79-
metrics.lag = toobusy.lag();
79+
//metrics.lag = toobusy.lag();
8080
}
8181
if (this._mem) {
8282
var memory = process.memoryUsage();

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-asti",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "ASTi internal nodejs library for reusability",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)