mirror of https://github.com/embarklabs/embark.git
fix blockchain already booted
This commit is contained in:
parent
d3c4f6275c
commit
df3c5c2fd0
|
@ -11,8 +11,8 @@ class ServicesMonitor {
|
||||||
this.checkState = {};
|
this.checkState = {};
|
||||||
this.working = false;
|
this.working = false;
|
||||||
|
|
||||||
self.events.setCommandHandler("services:register", (checkName, checkFn, time) => {
|
self.events.setCommandHandler("services:register", (checkName, checkFn, time, initialStatus) => {
|
||||||
self.addCheck(checkName, checkFn, time);
|
self.addCheck(checkName, checkFn, time, initialStatus);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue