MCPcopy
hub / github.com/socketio/socket.io / formatSize

Function formatSize

packages/engine.io/examples/memory-usage/server.js:28–30  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

26}, EMIT_INTERVAL_MS);
27
28function formatSize(val) {
29 return Math.floor(val / 1024);
30}
31
32setInterval(() => {
33 const mem = process.memoryUsage();

Callers 1

server.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected