mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-11-08 23:43:32 -05:00
- Simplify 'auto' mode to run only `spark tasks:run` on cron/Task
Scheduler; new `jobs_queue_worker` task (app/Config/Tasks.php) now
drains core queues in-process using BoundedQueueWorker, so the
separate `queue:work` cron entry/Task Scheduler task and Docker
compose/sidecar commands are no longer needed (INSTALL.md).
- Extend BoundedQueueWorker to cover 'auto' mode alongside 'web' and
'manual', removing the old single-mode restriction in its docblock.
- Add job_log() helper (app/Helpers/job_helper.php) and
JobsFileHandler (app/Logging/JobsFileHandler.php) to write job
activity to per-queue log files (jobsLog-{queue}-{date}.log)
instead of the shared application log; register 'job' helper in
app/Config/Autoload.php.
- Route job-related log_message() calls in BoundedQueueWorker,
CustomerCsvRowProcessor, and ItemCsvRowProcessor to job_log(),
and add extra per-row import logging (item id/name/barcode) for
easier troubleshooting of CSV imports.
Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>