diff --git a/bundle/package-lock.json b/bundle/package-lock.json
index 8f012973..5b389440 100644
--- a/bundle/package-lock.json
+++ b/bundle/package-lock.json
@@ -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",
diff --git a/bundle/package.json b/bundle/package.json
index f4188565..a3478e03 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -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",
diff --git a/bundle/src/start.ts b/bundle/src/start.ts
index 2ae2ce87..2bfb0069 100644
--- a/bundle/src/start.ts
+++ b/bundle/src/start.ts
@@ -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");
|