summary refs log tree commit diff
path: root/bundle/src/start.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 21:57:24 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 21:57:24 +0200
commitb584af656d76f271bc9fc52df7bf78077c7ae585 (patch)
treea4bdbfd2b575515f2bad08dfd58ab789e3f0e124 /bundle/src/start.ts
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-b584af656d76f271bc9fc52df7bf78077c7ae585.tar.xz
:construction: different db engines
Diffstat (limited to 'bundle/src/start.ts')
-rw-r--r--bundle/src/start.ts2
1 files changed, 2 insertions, 0 deletions
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;