@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface ReportingLedgerLimits

    interface ReportingLedgerLimits {
        maxPages?: number;
        maxRecords?: number;
        maxLoadMs?: number;
        maxRevisionRows?: number;
        maxRevisionBytes?: number;
    }
    Index
    maxPages?: number

    Cursor pages per read. Bounds the ledger walk and each revision row read.

    maxRecords?: number

    Ledger records (obligations + revisions + adjustments) in one snapshot.

    maxLoadMs?: number

    Wall-clock budget, applied per read: the ledger walk, each receipt write, each posting batch, the summary read — and, shared across all of them, the consumer-status consumption pass.

    maxRevisionRows?: number

    Rows accumulated from one exact-revision read. Separate from maxRecords, which bounds ledger records: a caller who capped a small ledger at a few hundred records should not thereby cap every revision read at the same number. Defaults to 100,000, and exceeding it suppresses the statement rather than accusing the seller.

    maxRevisionBytes?: number

    Approximate decoded bytes accumulated for one exact revision. Defaults to 32 MiB; set 256 MiB during migration to retain the pre-14 ceiling.