ddmrp_cron_actions_as_job
Enqueues DDMRP buffer calculations into queue jobs to keep updates asynchronous and deduplicated when triggered by stock moves and schedulers.
Key Features
- stock.buffer: Provides queue job options with identity keys for buffer recalculations to ensure only one job per buffer is processed at a time.
- stock.buffer: Automatically delays buffer cron actions and ADU recomputations by wrapping them with queue-job triggers when the auto-delay context flags are set.
- stock.move: Sets the auto-delay context during DDMRP NFP updates so resulting buffer recalculations are enqueued as jobs instead of running inline.