Skip to content

Commit db0630a

Browse files
committed
Disable console output
PR-URL: #161
1 parent 4f023d1 commit db0630a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

domain/resmon.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99

1010
start() {
1111
const { interval } = application.resmon.config;
12-
setInterval(() => {
12+
setTimeout(() => {
1313
const stats = application.resmon.getStatistics();
14-
const { heapTotal, heapUsed, external, contexts, detached } = stats;
14+
const { heapTotal, heapUsed, external } = stats;
1515
const total = application.utils.bytesToSize(heapTotal);
1616
const used = application.utils.bytesToSize(heapUsed);
1717
const ext = application.utils.bytesToSize(external);
1818
console.log(`Heap: ${used} of ${total}, ext: ${ext}`);
19-
console.log(`Contexts: ${contexts}, detached: ${detached}`);
2019
}, interval);
2120
}
2221
});

0 commit comments

Comments
 (0)