Releases: spryker/queue
Releases · spryker/queue
1.27.1
Included commits: 1.27.0...1.27.1
Fixes
- Fixed queue worker logic to skip the stop check when processes just finished, ensuring messages published to downstream queues during adjusted queue logic are visible on the next iteration.
1.27.0
Included commits: 1.26.0...1.27.0
Improvements
- Introduced
ProcessManagerInterface::flushZombieProcesses()andProcessManager::flushZombieProcesses()to detect and remove defunct PHP processes, preventing zombie process accumulation. - Added
Worker::registerKillSignalHandlers()to gracefully flush all worker processes onSIGTERM,SIGINT, andSIGHUPsignals, ensuring clean worker shutdown. - Adjusted
Worker::start()to flush zombie processes and register kill signal handlers on the first worker round, and to finish the progress bar and flush idle processes when the queue is empty. - Fixed
ProcessManager::flushAllWorkerProcesses()to sendSIGKILLto running processes before deleting their records, ensuring processes are properly terminated.
1.26.0
Included commits: 1.25.0...1.26.0
Fixes
- Fixed
Worker::waitForPendingProcesses()to use an iterative loop instead of recursion, preventing stack overflows on large backlogs and correctly continuing to wait as long as pending processes remain. - Removed the initial sleep delay before the first worker process is triggered in
startProcessesForKnownNonEmptyQueue()andstartProcesses()to reduce queue startup latency.
1.25.0
Included commits: 1.24.0...1.25.0
Improvements
- Introduced
QueueFacade::areQueuesEmpty()to enable checking whether all registered queues have no messages ready for consumption.
1.24.0
Included commits: 1.23.0...1.24.0
Improvements
- Added
QueueConstants::QUEUE_WORKER_DELAY_WHEN_NOT_EMPTY_MILLISECONDSandQueueConfig::getDelayWhenQueueIsNotEmptyMilliseconds()to configure worker delay for non-empty queue processing in queue worker performance optimization. - Added
QueueConstants::QUEUE_BULK_MESSAGE_CHECK_ENABLEDandQueueConfig::isQueueBulkMessageCheckEnabled()to enable bulk queue state checks in queue worker performance optimization. - Adjusted
WorkerandResourceAwareQueueWorkerexecution flow to support bulk queue checks and optimized queue-processing loop/logging behavior.
1.23.0
Included commits: 1.22.1...1.23.0
Adjustments
- Added compatibility with Gui module version 5 to support the updated Backoffice theme Inspinia v2.
1.22.1
Included commits: 1.22.0...1.22.1
Fixes
- Updated Transfer module constraint to enable compatibility with new transfer features.
1.22.0
Included commits: 1.21.1...1.22.0
Improvements
- Introduced resource-aware queue worker to enable dynamic queue processing based on available system resources and queue metrics.
- Added queue scanning capability with
QueueScannerto monitor queue sizes and prioritize processing based on configurable modes. - Introduced
QueueReadModeEnumwith multiple processing modes to control worker behavior for handling publish, sync, big, and small queues. - Added system resource monitoring with
SystemResourcesManagerto track memory usage and prevent worker process overload. - Extended
QueueDynamicSettingsTransfer,QueueMetricsRequestTransfer, andQueueMetricsResponseTransferto support queue metrics collection and dynamic configuration updates.
1.21.1
Included commits: 1.21.0...1.21.1
Fixes
- Adjusted
QueueFacade::startWorker()so it does not throw theProcessTimedOutExceptionexception when the process execution exceeds 60 seconds.