From b584af656d76f271bc9fc52df7bf78077c7ae585 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 4 Oct 2021 21:57:24 +0200 Subject: :construction: different db engines --- bundle/src/start.ts | 2 ++ bundle/src/stats.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'bundle/src') diff --git a/bundle/src/start.ts b/bundle/src/start.ts index f68a65bf..be67a122 100644 --- a/bundle/src/start.ts +++ b/bundle/src/start.ts @@ -2,6 +2,8 @@ import cluster from "cluster"; import os from "os"; import { initStats } from "./stats"; +import { config } from "dotenv"; +config(); // TODO: add tcp socket event transmission const cores = 1 || Number(process.env.threads) || os.cpus().length; diff --git a/bundle/src/stats.ts b/bundle/src/stats.ts index e6941db2..d5ceeff7 100644 --- a/bundle/src/stats.ts +++ b/bundle/src/stats.ts @@ -5,7 +5,6 @@ export function initStats() { console.log(`[Path] running in ${__dirname}`); console.log(`[CPU] ${osu.cpu.model()} Cores x${osu.cpu.count()}`); console.log(`[System] ${os.platform()} ${os.arch()}`); - console.log(`[Database] started`); console.log(`[Process] running with pid: ${process.pid}`); setInterval(async () => { -- cgit 1.5.1