summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-12 21:53:57 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-12 21:53:57 +0200
commitf2e8e2e0311bc343a21c3de94f6a1e908be81c2c (patch)
treea9c157945c7b8d5429a33513e3979114a2c37c3a /bundle
parent:zap: benchmark tests (diff)
downloadserver-f2e8e2e0311bc343a21c3de94f6a1e908be81c2c.tar.xz
:zap: improve memory managment
Diffstat (limited to 'bundle')
-rw-r--r--bundle/src/stats.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle/src/stats.ts b/bundle/src/stats.ts
index 18bb85ca..7928de89 100644
--- a/bundle/src/stats.ts
+++ b/bundle/src/stats.ts
@@ -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);
 }