mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-25 03:45:33 +00:00
📝 updated links to fosscord-server
This commit is contained in:
Generated
BIN
Binary file not shown.
+3
-3
@@ -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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user