KamoCRM

Enable OutboxRelay @Scheduled backstop + @Async hot path

FixDaemonService
Shipped
28 ஜூன், 2026 அன்று 4:36 PM UTC
Author
Sage
Commit
f1a5d4a

DaemonService activates the MLOS transactional outbox (mlos.outbox.enabled) and produces events (the compliance-timer breach emitter), but lacked @EnableScheduling/@EnableAsync — so the shared-lib OutboxRelay's @Scheduled sweep() backstop was dormant (stuck rows relied on another service's cross-service sweep of the shared outbox table) and the @Async AFTER_COMMIT hot path ran synchronously. Add both, matching the 5 MLOSxxxServices. Audited: the OutboxRelay is the ONLY @Scheduled/@Async bean on the scanned classpath (gated on mlos.outbox.enabled), and DaemonService uses Quartz (not @Scheduled), so no other scheduled/async work is introduced.

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