mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 04:07:28 +00:00
fix: land health-monitor disconnected reason label (#36436) (thanks @Sid-Qin)
This commit is contained in:
@@ -36,7 +36,12 @@ export type ChannelHealthPolicy = {
|
||||
channelConnectGraceMs: number;
|
||||
};
|
||||
|
||||
export type ChannelRestartReason = "gave-up" | "stopped" | "stale-socket" | "stuck" | "disconnected";
|
||||
export type ChannelRestartReason =
|
||||
| "gave-up"
|
||||
| "stopped"
|
||||
| "stale-socket"
|
||||
| "stuck"
|
||||
| "disconnected";
|
||||
|
||||
function isManagedAccount(snapshot: ChannelHealthSnapshot): boolean {
|
||||
return snapshot.enabled !== false && snapshot.configured !== false;
|
||||
|
||||
Reference in New Issue
Block a user