Setu-TS
    Preparing search index...

    Interface HealthDiagnosticsScheduledOptions

    The bounded, separately-controlled scheduled health collection (M98d).

    Absent by default: an omitted scheduled performs no scheduled work. When present, it names a subset of the approved indicator names (the keys of HealthDiagnosticsOptions.indicators) and supplies a cadence, a per-check reporting deadline, and a concurrency cap. A timeout here is a REPORTING bound, not a cancellation: a check that has not settled within timeoutMs is reported as timed-out, but its raw callback remains in-flight until it actually settles, and no replacement check for it starts before then.

    0.8.0

    interface HealthDiagnosticsScheduledOptions {
        concurrency: number;
        indicators: readonly string[];
        intervalMs: number;
        timeoutMs: number;
    }
    Index
    concurrency: number

    The maximum number of scheduled callbacks running at once, 1–4. A timed-out callback that has not settled still occupies its slot, so a hung indicator costs one slot and no more; the remaining slots keep refreshing the other indicators. With as many hung callbacks as slots, no scheduled check starts until one settles: each stalled alias keeps its last observation with a growing ageMs (or stays never-observed), and the snapshot's state turns stale once any retained observation ages past staleAfterMs. Each cycle covers every scheduled indicator that is not still in flight, rotating its starting point so no indicator is starved.

    indicators: readonly string[]

    The approved indicator names to collect on a schedule. Each must be a key of HealthDiagnosticsOptions.indicators. At most 16 entries. A name no indicator is registered under is skipped (it stays never-observed), and the plugin logs a count-only warning at bootstrap.

    intervalMs: number

    The cadence between scheduled cycles, in milliseconds. 1,000–300,000.

    timeoutMs: number

    The per-check reporting deadline, in milliseconds. 1–30,000. A check that has not settled within the deadline is reported as timed-out; the deadline does not cancel the underlying callback.