var -> let

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
This commit is contained in:
TheArcaneBrony
2023-01-14 13:33:24 +01:00
parent b3657f2cc8
commit 32b93c857f
62 changed files with 133 additions and 133 deletions

View File

@@ -4,7 +4,7 @@ const WebSocket = require("ws");
const endpoint = process.env.GATEWAY || "ws://localhost:3001";
const connections = Number(process.env.CONNECTIONS) || 50;
const token = process.env.TOKEN;
var cores = 1;
let cores = 1;
try {
cores = Number(process.env.THREADS) || os.cpus().length;
} catch {