Setu-TS
    Preparing search index...

    Interface QueueDepthDiagnosticsOptions

    Bounded, explicitly scheduled depth collection for queue observations (M98f).

    Counting has backend cost, so it is its own opt-in: a diagnostic read never counts. One cycle runs at bootstrap and then one per intervalMs; cycles never overlap. A count that has not settled within timeoutMs is reported as timed out but keeps its concurrency slot until it actually settles, so a hung backend cannot accumulate count calls. Only approved job names this instance has registered a processor for are counted, and only on adapters that can count (memory, and redis with a counting client); RabbitMQ and SQS report depths as unavailable, never as zero.

    0.8.0

    interface QueueDepthDiagnosticsOptions {
        concurrency: number;
        intervalMs: number;
        timeoutMs: number;
    }
    Index
    concurrency: number

    Maximum count calls in flight at once: 1–4.

    intervalMs: number

    Cadence between depth cycles, in milliseconds: 1,000–300,000.

    timeoutMs: number

    Per-count reporting deadline, in milliseconds: 1–30,000.