Change eris-fleet version to upstream

This commit is contained in:
Essem 2022-01-22 23:16:55 -06:00
parent f08bbe1b1d
commit ad467c8483
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
5 changed files with 13 additions and 7 deletions

View file

@ -11,6 +11,8 @@ class ImageWorker extends BaseServiceWorker {
constructor(setup) {
super(setup);
console.info = (str) => this.ipc.sendToAdmiral("info", str);
if (process.env.API === "true") {
this.jobs = {};
this.connections = new Map();

View file

@ -7,6 +7,8 @@ class PrometheusWorker extends BaseServiceWorker {
constructor(setup) {
super(setup);
console.info = (str) => this.ipc.sendToAdmiral("info", str);
if (process.env.METRICS && process.env.METRICS !== "") {
this.httpServer = createServer(async (req, res) => {
if (req.method !== "GET") {