health: stop direct baileys probes

This commit is contained in:
Peter Steinberger
2025-12-10 16:35:42 +00:00
parent 55772eec5a
commit 2967bc5988
3 changed files with 5 additions and 72 deletions

View File

@@ -218,12 +218,7 @@ export async function statusCommand(
runtime.log(` ${line}`);
}
if (health) {
const waLine = health.web.connect
? health.web.connect.ok
? info(`WA connect: ok (${health.web.connect.elapsedMs}ms)`)
: `WA connect: failed (${health.web.connect.status ?? "unknown"})${health.web.connect.error ? ` - ${health.web.connect.error}` : ""}`
: info("WA connect: skipped (not linked)");
runtime.log(waLine);
runtime.log(info("WA connect: reported by gateway (no direct probe)"));
const tgLine = health.telegram.configured
? health.telegram.probe?.ok