mcpwn API
    Preparing search index...

    Interface CorrelatorOptions

    Tunables for in-flight bookkeeping. Both default to sane values; a value of 0 disables that bound.

    interface CorrelatorOptions {
        maxEntries?: number;
        ttlMs?: number;
    }
    Index
    maxEntries?: number

    Hard cap on simultaneously-tracked in-flight requests. When exceeded the oldest entries are evicted first (bounded LRU). Default 10 000; 0 = no cap.

    ttlMs?: number

    Evict in-flight requests that have gone unanswered for longer than this (ms). Default 5 minutes; 0 disables TTL eviction. A generous default so it never races normal request/response timing — it only reaps the entries a response will realistically never arrive to clear.