Member Junction
    Preparing search index...

    Interface AgentRunWatchdogConfig

    Tuning for the agent-run watchdog. All durations are in their named units. Defaults are deliberately conservative: the stale threshold is many heartbeat intervals wide, so a momentarily-slow-but-alive process is never mistaken for a dead one.

    interface AgentRunWatchdogConfig {
        heartbeatIntervalMs: number;
        staleThresholdMinutes: number;
        sweepIntervalMs: number;
    }
    Index

    Properties

    heartbeatIntervalMs: number

    How often the owning process stamps a liveness heartbeat for its in-flight runs.

    staleThresholdMinutes: number

    A Running run whose heartbeat is older than this (or NULL with an older StartedAt) is force-failed.

    sweepIntervalMs: number

    How often this process re-scans for orphaned runs (mid-life, without waiting for a restart).