📝 updated links to fosscord-server

This commit is contained in:
Flam3rboy
2021-08-13 13:18:45 +02:00
parent b1d85653e6
commit 403de3ef66
8 changed files with 16 additions and 56 deletions
+1 -7
View File
@@ -34,7 +34,6 @@
"hasInstallScript": true,
"license": "ISC",
"dependencies": {
"@fosscord/server-util": "^1.3.52",
"@fosscord/util": "file:../util",
"@types/jest": "^26.0.22",
"@types/json-schema": "^7.0.7",
@@ -92,7 +91,6 @@
"hasInstallScript": true,
"license": "ISC",
"dependencies": {
"@fosscord/server-util": "^1.3.42",
"@fosscord/util": "file:../util",
"body-parser": "^1.19.0",
"btoa": "^1.2.1",
@@ -129,7 +127,6 @@
"hasInstallScript": true,
"license": "ISC",
"dependencies": {
"@fosscord/server-util": "^1.3.51",
"@fosscord/util": "file:../util",
"ajv": "^8.5.0",
"amqplib": "^0.8.0",
@@ -155,7 +152,7 @@
},
"../util": {
"name": "@fosscord/util",
"version": "1.3.52",
"version": "1.3.55",
"license": "GPLV3",
"dependencies": {
"@types/jsonwebtoken": "^8.5.0",
@@ -1583,7 +1580,6 @@
"@fosscord/api": {
"version": "file:../api",
"requires": {
"@fosscord/server-util": "^1.3.52",
"@fosscord/util": "file:../util",
"@types/amqplib": "^0.8.1",
"@types/bcrypt": "^5.0.0",
@@ -1636,7 +1632,6 @@
"@fosscord/cdn": {
"version": "file:../cdn",
"requires": {
"@fosscord/server-util": "^1.3.42",
"@fosscord/util": "file:../util",
"@types/body-parser": "^1.19.0",
"@types/btoa": "^1.2.3",
@@ -1668,7 +1663,6 @@
"@fosscord/gateway": {
"version": "file:../gateway",
"requires": {
"@fosscord/server-util": "^1.3.51",
"@fosscord/util": "file:../util",
"@types/amqplib": "^0.8.1",
"@types/jsonwebtoken": "^8.5.0",
+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");