📝 updated links to fosscord-server

This commit is contained in:
Flam3rboy
2021-08-13 13:18:45 +02:00
parent eebe4d14b2
commit 1cf781e254
8 changed files with 15 additions and 49 deletions
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -12,15 +12,15 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/fosscord/fosscord-api.git"
"url": "git+https://github.com/fosscord/fosscord-server.git"
},
"keywords": [],
"author": "Fosscord",
"license": "AGPLV3",
"bugs": {
"url": "https://github.com/fosscord/fosscord-api/issues"
"url": "https://github.com/fosscord/fosscord-server/issues"
},
"homepage": "https://github.com/fosscord/fosscord-api#readme",
"homepage": "https://fosscord.com",
"devDependencies": {
"@types/async-exit-hook": "^2.0.0",
"@types/express": "^4.17.13",
+2 -1
View File
@@ -6,7 +6,8 @@ import os from "os";
import osu from "node-os-utils";
import exitHook from "async-exit-hook";
const cores = Number(process.env.threads) || 1 || os.cpus().length;
// TODO: add tcp socket event transmission
const cores = 1 || Number(process.env.threads) || os.cpus().length;
if (cluster.isMaster && !process.env.masterStarted) {
const dbPath = path.join(__dirname, "..", "..", "db");