KamoCRM

Never fail a submission because its counter update lost a race

FixSecurityService
Shipped
20 ஆகஸ்ட், 2026 அன்று 10:54 PM UTC
Author
Kamo
Commit
2fd3e69

storePayload no longer bumps the endpoint's received counter; the receive controller now calls recordReceipt separately, in its own transaction, and swallows the failure. Before this, two concurrent POSTs to the same endpoint conflicted on the endpoint row and the loser's payload was rolled back with it, answering {"status":"error"} to the submitter. Statistics are worth less than the lead. Pairs with kamo-shared-library 309f6fc.

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