Process-wide availability of HotMesh's resilient database connections.

interface ConnectionHealthSnapshot {
    down: number;
    downSince?: number;
    state: "up" | "down";
    total: number;
}

Properties

down: number
downSince?: number

Epoch milliseconds of the earliest loss still unrecovered.

state: "up" | "down"

down while any registered connection is reconnecting.

total: number