mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 21:53:46 +00:00
⚡ improve memory managment
This commit is contained in:
1 parent
270ad5ee38
commit
b0385e0fcb
4 files changed
+13
-4
No files matched your search
+2
-1
@@ -31,5 +31,6 @@ export function initStats() {
|
||||
process.memoryUsage().rss / 1024 / 1024
|
||||
)}mb/${memory.totalMemMb.toFixed(0)}mb ${networkUsage}`
|
||||
);
|
||||
}, 1000 * 10);
|
||||
// TODO: node-os-utils might have a memory leak, more investigation needed
|
||||
}, 1000 * 60 * 5);
|
||||
}
|
||||
Reference in new issue
Block a user