mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 21:45:20 +00:00
🚧 different db engines
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user