Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b440dc

Browse files
committed
chore: remove non-useful avgload information
1 parent 8974e8b commit 9b440dc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/memoryLogger.ts

-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ export class MemoryLogger {
130130
const systemMemoryInfo = {
131131
totalMem: `${(os.totalmem() / 1024 / 1024 / 1024).toFixed(2)}GB`,
132132
freeMem: `${(os.freemem() / 1024 / 1024 / 1024).toFixed(2)}GB`,
133-
loadAvg: os
134-
.loadavg()
135-
.map((load) => load.toFixed(2))
136-
.join(", "),
137133
}
138134

139135
const memoryLog = `[MEMORY:${context}] Node: ${JSON.stringify(nodeMemoryInfo)} | System: ${JSON.stringify(systemMemoryInfo)}`

0 commit comments

Comments
 (0)