Change eris-fleet version to upstream
This commit is contained in:
parent
f08bbe1b1d
commit
ad467c8483
5 changed files with 13 additions and 7 deletions
13
package-lock.json
generated
13
package-lock.json
generated
|
@ -15,7 +15,7 @@
|
||||||
"dotenv": "^10.0.0",
|
"dotenv": "^10.0.0",
|
||||||
"emoji-regex": "^10.0.0",
|
"emoji-regex": "^10.0.0",
|
||||||
"eris": "^0.16.1",
|
"eris": "^0.16.1",
|
||||||
"eris-fleet": "github:esmBot/eris-fleet#master",
|
"eris-fleet": "^1.0.0",
|
||||||
"file-type": "^16.1.0",
|
"file-type": "^16.1.0",
|
||||||
"format-duration": "^1.4.0",
|
"format-duration": "^1.4.0",
|
||||||
"jsqr": "^1.3.1",
|
"jsqr": "^1.3.1",
|
||||||
|
@ -1464,10 +1464,10 @@
|
||||||
},
|
},
|
||||||
"node_modules/eris-fleet": {
|
"node_modules/eris-fleet": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "git+ssh://git@github.com/esmBot/eris-fleet.git#9eb4d8ad143889e63b4622af026428c15de59861",
|
"resolved": "https://registry.npmjs.org/eris-fleet/-/eris-fleet-1.0.0.tgz",
|
||||||
"license": "MIT",
|
"integrity": "sha512-MkQ4+t+1f0yGVcCPzVOMppv193jUbnoeSS1DbH+13rN/OwND9PnfJbg+zfQBXpBQQjSdUOeKsRd+fa8LXEWWSQ==",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eris": "*"
|
"eris": "~0.16.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/erlpack": {
|
"node_modules/erlpack": {
|
||||||
|
@ -5661,8 +5661,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eris-fleet": {
|
"eris-fleet": {
|
||||||
"version": "git+ssh://git@github.com/esmBot/eris-fleet.git#9eb4d8ad143889e63b4622af026428c15de59861",
|
"version": "1.0.0",
|
||||||
"from": "eris-fleet@esmBot/eris-fleet#master",
|
"resolved": "https://registry.npmjs.org/eris-fleet/-/eris-fleet-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-MkQ4+t+1f0yGVcCPzVOMppv193jUbnoeSS1DbH+13rN/OwND9PnfJbg+zfQBXpBQQjSdUOeKsRd+fa8LXEWWSQ==",
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"erlpack": {
|
"erlpack": {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
"dotenv": "^10.0.0",
|
"dotenv": "^10.0.0",
|
||||||
"emoji-regex": "^10.0.0",
|
"emoji-regex": "^10.0.0",
|
||||||
"eris": "^0.16.1",
|
"eris": "^0.16.1",
|
||||||
"eris-fleet": "github:esmBot/eris-fleet#master",
|
"eris-fleet": "^1.0.0",
|
||||||
"file-type": "^16.1.0",
|
"file-type": "^16.1.0",
|
||||||
"format-duration": "^1.4.0",
|
"format-duration": "^1.4.0",
|
||||||
"jsqr": "^1.3.1",
|
"jsqr": "^1.3.1",
|
||||||
|
|
1
shard.js
1
shard.js
|
@ -26,6 +26,7 @@ class Shard extends BaseClusterWorker {
|
||||||
constructor(bot) {
|
constructor(bot) {
|
||||||
super(bot);
|
super(bot);
|
||||||
|
|
||||||
|
console.info = (str) => this.ipc.sendToAdmiral("info", str);
|
||||||
this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,8 @@ class ImageWorker extends BaseServiceWorker {
|
||||||
constructor(setup) {
|
constructor(setup) {
|
||||||
super(setup);
|
super(setup);
|
||||||
|
|
||||||
|
console.info = (str) => this.ipc.sendToAdmiral("info", str);
|
||||||
|
|
||||||
if (process.env.API === "true") {
|
if (process.env.API === "true") {
|
||||||
this.jobs = {};
|
this.jobs = {};
|
||||||
this.connections = new Map();
|
this.connections = new Map();
|
||||||
|
|
|
@ -7,6 +7,8 @@ class PrometheusWorker extends BaseServiceWorker {
|
||||||
constructor(setup) {
|
constructor(setup) {
|
||||||
super(setup);
|
super(setup);
|
||||||
|
|
||||||
|
console.info = (str) => this.ipc.sendToAdmiral("info", str);
|
||||||
|
|
||||||
if (process.env.METRICS && process.env.METRICS !== "") {
|
if (process.env.METRICS && process.env.METRICS !== "") {
|
||||||
this.httpServer = createServer(async (req, res) => {
|
this.httpServer = createServer(async (req, res) => {
|
||||||
if (req.method !== "GET") {
|
if (req.method !== "GET") {
|
||||||
|
|
Loading…
Reference in a new issue