Commit 073f25f
committed
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.1 parent 894b41d commit 073f25f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments