KamoCRM

Real pending/failed/set-aside counts per feed, and a status-filtered payload page

Fixkamo-shared-library
Shipped
November 16, 2026 at 7:01 PM UTC
Author
Kamo
Commit
22095ac

Pending was shown as received - imported, so a payload set aside as a duplicate (Harmony's Lending Tree Standard: 15 received, 14 imported, 1 "Same person as lead ... nothing new") read as "1 waiting to be imported" forever. withLiveCounts now fills totalQueued (RECEIVED + PROCESSING), totalFailed and totalDiscarded. Only the three small statuses are counted (~5 ms on the status index); DISCARDED holds 63K rows (~820 ms), so it is derived by subtraction. getPayloads gains a status overload for the Queue page's filter.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing