Never fail a submission because its counter update lost a race

FixSecurityService
Shipped
August 20, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing