Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where scheduler sleeps when processing a delayed queue
The function handleDelayedItems() was overwriting the parameter $timestamp from the call nextDelayedTimestamp() with timestamp of the most delayed job. Therefor it would only process 1 seconds worth of items before sleeping. A slighty delayed queue could fall very far behind.
- Loading branch information