@cfxlabsinc/b2b-services
    Preparing search index...

    Variable TRANSACTION_SEARCH_CACHEConst

    TRANSACTION_SEARCH_CACHE: {
        l1: { ttl: 30000 };
        namespace: "transaction-search";
        ttl: number;
    } = ...

    Shared cache config for the customer transaction search projection. Owned by TransactionService (read-through), busted cross-process by every transaction WRITER via TransactionCacheBuster, which constructs a buster over this same namespace + cluster. Entries are tagged with the owning external customerId, so a per-customer write surgically busts only that customer's cached searches.

    Type Declaration

    • Readonlyl1: { ttl: 30000 }
    • Readonlynamespace: "transaction-search"
    • Readonlyttl: number