whatap 0.4.69 → 0.4.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/agent.js +2 -5
- package/package.json +2 -2
package/lib/core/agent.js
CHANGED
|
@@ -241,11 +241,7 @@ NodeAgent.prototype.connectCB = function (cb) {
|
|
|
241
241
|
});
|
|
242
242
|
}, self.setLoopTime);
|
|
243
243
|
};
|
|
244
|
-
|
|
245
|
-
return new Promise(resolve=>{
|
|
246
|
-
setTimeout(resolve,ms)
|
|
247
|
-
})
|
|
248
|
-
}
|
|
244
|
+
|
|
249
245
|
NodeAgent.prototype.loadObserves = function() {
|
|
250
246
|
var agent = this;
|
|
251
247
|
var observes = [];
|
|
@@ -296,6 +292,7 @@ NodeAgent.prototype.loadObserves = function() {
|
|
|
296
292
|
new ProcessObserver(agent).inject(process, 'process');
|
|
297
293
|
new GlobalObserver(agent).inject(global, 'global');
|
|
298
294
|
};
|
|
295
|
+
|
|
299
296
|
NodeAgent.prototype.setServicePort = function (port) {
|
|
300
297
|
Configuration['whatap.port'] = port || 0;
|
|
301
298
|
}
|
package/package.json
CHANGED