mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
chore: Remove some of the bad logging
This commit is contained in:
@@ -268,7 +268,6 @@ export class HostSystemStartOs implements Effects {
|
||||
>
|
||||
}
|
||||
setHealth(...[options]: Parameters<T.Effects["setHealth"]>) {
|
||||
console.error("BLUJ sethealth", options)
|
||||
return this.rpcRound("setHealth", options) as ReturnType<
|
||||
T.Effects["setHealth"]
|
||||
>
|
||||
|
||||
@@ -617,9 +617,6 @@ async fn set_health(
|
||||
message,
|
||||
}: SetHealth,
|
||||
) -> Result<Value, Error> {
|
||||
dbg!(&name);
|
||||
dbg!(&status);
|
||||
dbg!(&message);
|
||||
let context = context.deref()?;
|
||||
|
||||
let package_id = &context.id;
|
||||
|
||||
@@ -137,7 +137,6 @@ export class Daemons<Manifest extends SDKManifest, Ids extends string> {
|
||||
}
|
||||
return {
|
||||
async term(options?: { signal?: Signals; timeout?: number }) {
|
||||
console.error("Bluj Daemons term")
|
||||
await Promise.all(
|
||||
Object.values<Promise<DaemonReturned>>(daemonsStarted).map((x) =>
|
||||
x.then((x) => x.term(options)),
|
||||
@@ -145,7 +144,6 @@ export class Daemons<Manifest extends SDKManifest, Ids extends string> {
|
||||
)
|
||||
},
|
||||
async wait() {
|
||||
console.error("Bluj Daemons wait")
|
||||
await Promise.all(
|
||||
Object.values<Promise<DaemonReturned>>(daemonsStarted).map((x) =>
|
||||
x.then((x) => x.wait()),
|
||||
|
||||
@@ -269,7 +269,6 @@ export const createUtils = <
|
||||
},
|
||||
async term({ signal = SIGTERM, timeout = NO_TIMEOUT } = {}) {
|
||||
const pids = pid ? await psTree(pid, overlay) : []
|
||||
console.error("Bluj killing pid ", pids)
|
||||
try {
|
||||
childProcess.kill(signal)
|
||||
|
||||
@@ -290,7 +289,6 @@ export const createUtils = <
|
||||
await overlay.destroy()
|
||||
}
|
||||
|
||||
console.error("Bluj actually killing pid ", pids)
|
||||
try {
|
||||
for (const process of pids) {
|
||||
await cp.execFile("kill", [`-${signal}`, String(process)])
|
||||
|
||||
Reference in New Issue
Block a user