summary refs log tree commit diff
path: root/bundle/src
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/src')
-rw-r--r--bundle/src/start.ts2
-rw-r--r--bundle/src/stats.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundle/src/start.ts b/bundle/src/start.ts

index de3b5848..a20581c3 100644 --- a/bundle/src/start.ts +++ b/bundle/src/start.ts
@@ -9,7 +9,7 @@ config(); import { execSync } from "child_process"; // TODO: add socket event transmission -var cores = 1; +let cores = 1; try { cores = Number(process.env.THREADS) || os.cpus().length; } catch { diff --git a/bundle/src/stats.ts b/bundle/src/stats.ts
index 0234e0b4..022b2000 100644 --- a/bundle/src/stats.ts +++ b/bundle/src/stats.ts
@@ -29,7 +29,7 @@ export function initStats() { // osu.mem.info(), // osu.netstat.inOut(), // ]); - // var networkUsage = ""; + // let networkUsage = ""; // if (typeof network === "object") { // networkUsage = `| [Network]: in ${network.total.inputMb}mb | out ${network.total.outputMb}mb`; // }