Change eris-fleet version to upstream
This commit is contained in:
parent
f08bbe1b1d
commit
ad467c8483
5 changed files with 13 additions and 7 deletions
|
@ -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();
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue