KamoCRM

Bump the processed counter instead of rewriting the endpoint

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

The job finished a batch by mutating totalProcessed on the endpoint entity it loaded before the batch began and saving the whole row. Two consequences: - it wrote back every other field as they were at load time, so pausing an endpoint (or clearing isMappingConfigured) while a run was in flight was silently reverted — the gate looked closed and the run carried on; - the full-row update collided with concurrent inbound POSTs on the same row. Now a targeted single-column increment via recordProcessed.

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